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.7.tar.gz (101.8 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.7-py3-none-any.whl (142.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: protollm-0.1.7.tar.gz
  • Upload date:
  • Size: 101.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1018-azure

File hashes

Hashes for protollm-0.1.7.tar.gz
Algorithm Hash digest
SHA256 593d9ff916caae1f8b3b2c2ede655cf8da65a2ebcb3b81ccde7bf2c4537ca140
MD5 542f1fbe7fad36a4c2f32150625fbf7d
BLAKE2b-256 062c4d31d63a646f0a85c420dc0e914e611d55e79946ae43012e2a21072f9b38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: protollm-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 142.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1018-azure

File hashes

Hashes for protollm-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e9003f58b29f308f230880a75a9d18f8395af5559f7fa5f355845681dd21fbab
MD5 ea4f60c5adfb1bec9fb2924434f4c724
BLAKE2b-256 a95ec9594b7a7a78629e0962deea8e03ba2d38458ab1da9d578e8871c14158b7

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