Skip to content

Limestone is a personalised and a highly customisable Telegram bot that allows you to interact with a LLM instance.

License

Notifications You must be signed in to change notification settings

bkutasi/limestone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Limestone: An interactive chatbot

banner

Limestone is a personalized and highly customizable Telegram bot that allows you to interact with a local instance of an LLM. With Limestone, you can chat, search, generate content, and more, all within the Telegram app.

Project Overview

This project aims to provide an accessible way to interact with GPT-based Language Models. By utilizing Telegram as a frontend, we ensure secure messaging and protect user data from potential leaks. The project enables users to run their Language Models privately and securely as long as you trust Telegram as a platform.

Getting Started

Installation

  1. Set up and launch SGLang with your preferred model and configuration.

  2. Clone the repository:

git clone https://github.com/bkutasi/limestone
  1. Create a new virtual environment with Python 3.13
pyton -m venv env
source env/bin/activate
  1. Install required packages
pip install -r requirements.txt
  1. Create a Telegram bot and obtain the token through BotFather. Additional bot documentation is available here and here. Then make you config.yaml file based on the config.example.yml file

Server Launch

python main.py

Note: Server-side encryption is not implemented. Not recommended for production use without proper security measures.

Supported Models

For models, pick your choice form Open LLM leaderboard

Development Roadmap

Short Term

  • Streaming implementation (Completed)
  • Multiple personalities (In Progress)
  • Code cleanup and refactoring (First pass complete)
  • Conversation history implementation (First pass complete)
  • Model testing and integration
  • Performance optimization
  • Long-term memory implementation
  • AgentOoba integration
  • Testing and CI/CD implementation
  • User whitelisting system

Medium Term

  • API integration for document retrieval and search
  • Langchain integration
  • Vector database implementation
  • Concurrent request handling (Completed)

Long Term

  • Public deployment with token/message limitations

Technical Limitations

Current LLM limitations include:

  • Potential for generating incorrect or inconsistent responses
  • Limited common sense reasoning
  • Knowledge constraints based on training data
  • Potential training data biases
  • Limited emotional understanding
  • Context interpretation challenges

Acknowledgements

About

Limestone is a personalised and a highly customisable Telegram bot that allows you to interact with a LLM instance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages