β‘ Fast Development
Get a production-ready chatbot running in minutes, not months
π§ Modular Architecture
Mix and match components as needed - highly customizable
π Automatic API Key Rotation
Built-in fault tolerance with multiple OpenAI API keys
π Production Ready
Includes chat history, metrics, and feedback tracking
What is LangChat?
LangChat is a powerful, production-ready conversational AI library designed to simplify building intelligent chatbots with vector search capabilities. Instead of juggling multiple libraries, API integrations, vector databases, and chat history management, LangChat provides a unified, modular architecture that handles all these concerns out of the box.Why LangChat?
Building production-ready conversational AI systems is complex. You need to:- Integrate LLM APIs (OpenAI, Anthropic, etc.)
- Manage Vector Databases (Pinecone, Weaviate, etc.)
- Handle Chat History (conversation context and memory)
- Implement Reranking (improve search result relevance)
- Track Metrics (response times, errors, feedback)
- Rotate API Keys (handle rate limits and failures)
- π Fast Development: Get a production-ready chatbot running in minutes
- π§ Modular Architecture: Use components independently or together
- π Automatic API Key Rotation: Built-in fault tolerance for OpenAI API
- π Production Ready: Includes chat history, metrics, and feedback tracking
- π¨ Highly Customizable: Easy to extend with custom prompts and adapters
- π³ Docker Ready: Auto-generated Dockerfile for easy deployment
Key Features
π€ LLM Integration
- OpenAI: Native OpenAI API support with automatic API key rotation
- Fault Tolerant: Automatic retry logic with multiple API keys
- Production Ready: Handles rate limits and errors gracefully
π Vector Search
- Pinecone Integration: Seamless vector database integration
- Reranking: Flashrank reranker for improved search results
- Configurable Retrieval: Adjustable document retrieval and reranking
πΎ Database Management
- Supabase: Built-in Supabase integration
- ID Management: Automatic ID generation with conflict resolution
- Session Management: User-specific chat history and memory
π¨ Customization
- Custom Prompts: Configure both system prompts and standalone question prompts
- Flexible Configuration: Environment variables or direct configuration
- Modular Architecture: Use components independently or together
π Developer Experience
- Auto-Generated Interface: Chat interface HTML auto-created on startup
- Auto-Generated Dockerfile: Dockerfile auto-created with correct port
- Easy Setup: Simple configuration and initialization
Quick Example
Hereβs how easy it is to get started with LangChat:Architecture Overview
LangChat follows a modular architecture where each component is designed to work independently or together:Use Cases
LangChat is perfect for:- π Education Chatbots: Help students find universities and programs
- βοΈ Travel Assistants: Provide travel recommendations and booking guidance
- π Customer Support: Answer product questions with RAG (Retrieval-Augmented Generation)
- πΌ Business Assistants: Internal knowledge base queries
- π Learning Platforms: Answer questions about course materials
- π₯ Healthcare: Provide medical information with context
What Makes LangChat Different?
| Feature | LangChat | Other Libraries |
|---|---|---|
| Setup Time | Minutes | Days/Weeks |
| API Key Rotation | β Built-in | β Manual |
| Chat History | β Automatic | β οΈ Manual |
| Vector Search | β Integrated | β οΈ Separate |
| Reranking | β Built-in | β Manual |
| Metrics Tracking | β Automatic | β Manual |
| Production Ready | β Yes | β οΈ Depends |
Next Steps
Ready to get started? Check out our guides:- Getting Started - Set up LangChat in minutes
- Installation Guide - Install and configure LangChat
- Configuration - Learn about all configuration options
- Examples - See LangChat in action
Community & Support
- GitHub: github.com/neurobrains/langchat
- Issues: Report bugs or request features
- Contributions: We welcome contributions!
Built with β€οΈ by NeuroBrain