Skip to content

Chatformers

Chatformers

⚡ Chatformers is a Python package designed to simplify the development of chatbot applications that use Large Language Models (LLMs). It offers automatic chat history management using a local vector database (ChromaDB), ensuring efficient context retrieval for ongoing conversations.

Install

pip install chatformers
NOTE: If you are using chatformers<=1.0.3 then refer to FAQ and Usage in
This version will be depreciated in the future. Always use lastest docs.

Why Choose chatformers?

Effortless History Management: You do not need to manage extensive chat history manually; the package automatically handles it.
Simple Integration: Build a chatbot with just a few lines of code.
Full Customization: Maintain complete control over your data and conversations.
Framework Compatibility: Easily integrate with any existing framework or codebase.

Key Features

Easy Chatbot Creation: Set up a chatbot with minimal code.
Automated History Management: Automatically stores and fetches chat history for context-aware conversations.

How It Works

Project Setup: Create a basic project structure.
Automatic Storage: Chatformers store your conversations (user inputs and AI outputs) in Chroma DB, Qdrant or Pgvector.
Contextual Conversations: The chatbot fetches relevant chat history whenever you engage with the LLM.

Prerequisites-

Python: Ensure Python is installed on your system.
GenAI Knowledge: Familiarity with Generative AI models.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.