Chatformers
  • Chatformers
  • Usage
  • Example v<=1.0.3
  • Example v>=1.0.4
Powered by GitBook
On this page
  • Install
  • Why Choose chatformers?
  • Key Features
  • How It Works
  • Prerequisites-

Chatformers

NextUsage

Last updated 6 months ago

⚡ 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

Pypi:

Github:

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?

  1. Effortless History Management: You do not need to manage extensive chat history manually; the package automatically handles it.

  2. Simple Integration: Build a chatbot with just a few lines of code.

  3. Full Customization: Maintain complete control over your data and conversations.

  4. Framework Compatibility: Easily integrate with any existing framework or codebase.

Key Features

  1. Easy Chatbot Creation: Set up a chatbot with minimal code.

  2. Automated History Management: Automatically stores and fetches chat history for context-aware conversations.

How It Works

  1. Project Setup: Create a basic project structure.

  2. Automatic Storage: Chatformers store your conversations (user inputs and AI outputs) in Chroma DB, Qdrant or Pgvector.

  3. Contextual Conversations: The chatbot fetches relevant chat history whenever you engage with the LLM.

Prerequisites-

  1. Python: Ensure Python is installed on your system.

  2. GenAI Knowledge: Familiarity with Generative AI models.

https://pypi.org/project/chatformers
https://github.com/Dipeshpal/chatformers
Example v<=1.0.3