Skip to main content

A library with which to prototype LLM-based applications quickly and easily.

Project description

ProtoLLM

license

Licence for repo

support

Telegram Chat

languages

eng rus

mirror

GitLab mirror for this repository

funding

Acknowledgement to ITMO Acknowledgement to SAI

Intro

Proto-LLM is an open-source framework for fast protyping of LLM-based applications.

Proto LLM features

  • Rapid prototyping of information retrieval systems based on LLM using RAG:

    Implementations of architectural patterns for interacting with different databases and web service interfaces; Methods for optimising RAG pipelines to eliminate redundancy.

  • Development and integration of applications with LLM with connection of external services and models through plugin system:

    Integration with AutoML solutions for predictive tasks; Providing structured output generation and validation;

  • Implementation of ensemble methods and multi-agent approaches to improve the efficiency of LLMs:

    Possibility of combining arbitrary LLMs into ensembles to improve generation quality, automatic selection of ensemble composition; Work with model-agents and ensemble pipelines;

  • Generation of complex synthetic data for further training and improvement of LLM:

    Generating examples from existing models and data sets; Evolutionary optimisation to increase the diversity of examples; Integration with Label Studio;

  • Providing interoperability with various LLM providers:

    Support for native models (GigaChat, YandexGPT, vsegpt, openrouter, etc.). Interaction with open-source models deployed locally.

Project Structure

The latest stable release of ProtoLLM is in the main branch.

The repository includes the following directories:

  • Package protollm contains the main modules. It is the core of the ProtoLLM framework;

  • Package protollm_tools contains side tools with specific dependensied;

  • Package examples includes several how-to-use-cases where you can start to discover how ProtoLLM works;

  • All unit and integration tests can be observed in the test directory;

  • The sources of the documentation are in the docs directory.

Packages protollm-api and protollm-sdk are available in external repositories.

Installation

  • The simplest way to install ProtoLLM is using pip:

$ pip install protollm

A standard installation of ProtoLLM includes the main package with dependencies.

  • Modules with tools can be installed separately:

$ pip install protollm-api

$ pip install protollm-sdk

Contribution Guide

  • The contribution guide is available in this repository.

Acknowledgments

We acknowledge the contributors for their important impact and the participants of the numerous scientific conferences and workshops for their valuable advice and suggestions.

Supported by

The study is supported by the Research Center Strong Artificial Intelligence in Industry of ITMO University as part of the plan of the center’s program “Framework for rapid application prototyping based on large language models”.

Contacts

Papers about ProtoLLM-based solutions:

  • Kalyuzhnaya A. et al. LLM Agents for Smart City Management: Enhancing Decision Support Through Multi-Agent AI Systems //Smart Cities. – 2025. – Т. 8. – №. 1. – С. 19.

  • Zakharov K. et al. Forecasting Population Migration in Small Settlements Using Generative Models under Conditions of Data Scarcity //Smart Cities. – 2024. – Т. 7. – №. 5. – С. 2495-2513.

  • Kovalchuk M. A. et al. SemConvTree: Semantic Convolutional Quadtrees for Multi-Scale Event Detection in Smart City //Smart Cities. – 2024. – Т. 7. – №. 5. – С. 2763-2780.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

protollm-0.1.5.tar.gz (101.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

protollm-0.1.5-py3-none-any.whl (142.0 kB view details)

Uploaded Python 3

File details

Details for the file protollm-0.1.5.tar.gz.

File metadata

  • Download URL: protollm-0.1.5.tar.gz
  • Upload date:
  • Size: 101.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.18 Linux/6.11.0-1018-azure

File hashes

Hashes for protollm-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fe9c777ae129c7a2b990164415d8994a07e62e12b4ab799c632f16d9f286fd98
MD5 bfaa2289faceae950cfb30f524fe0f8b
BLAKE2b-256 b09115758e1c5439f8bfb5507507694ba1d69db0ceb7229c934c27d31d78b436

See more details on using hashes here.

File details

Details for the file protollm-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: protollm-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 142.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.18 Linux/6.11.0-1018-azure

File hashes

Hashes for protollm-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7eeea5c05c941fed0ac3b57f2e70ba450559c8d7520689611ddb58c46881be4d
MD5 132d4f494f0dbc1951eed6f636e02cb8
BLAKE2b-256 a72e5c6e7db5f937f7a7666be2688d80536a3a861ff9dff519faac29773b0042

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page