megabots  by momegas

LLM app framework for rapid bot creation and deployment

created 2 years ago
348 stars

Top 80.9% on sourcepulse

GitHubView on GitHub
Project Summary

Megabots simplifies the creation of production-ready LLM applications, specifically for answering questions over documents. It targets developers and researchers seeking to quickly deploy bots with features like document indexing, API exposure via FastAPI, and Gradio UIs, leveraging LangChain and Langchain-Serve.

How It Works

Megabots employs retrieval augmented generation (RAG). When a user asks a question, the system first queries a document index (created using FAISS) to find relevant information. This retrieved context, along with the original question, is then passed to an LLM (initially OpenAI models) to generate an answer. The library also supports conversational memory and integration with vector databases like Milvus.

Quick Start & Requirements

Highlighted Details

  • One-line bot creation for document Q&A.
  • Automatic API exposure with langchain-serve and UI with Gradio.
  • Supports custom prompts, conversational memory, and Milvus vectorstore.
  • Indexing can be done from local directories or saved .pkl files.

Maintenance & Community

Licensing & Compatibility

  • License: Not explicitly stated in the README.

Limitations & Caveats

  • Described as a "work in progress" with potential API changes.
  • A known issue exists where custom prompts with the sources=True flag cause the code to break.
  • Currently only supports OpenAI models and the qna-over-docs task.
Health Check
Last commit

2 years ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 90 days

Explore Similar Projects

Starred by Jared Palmer Jared Palmer(Ex-VP of AI at Vercel; Founder of Turborepo; Author of Formik, TSDX), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
1 more.

promptable by cfortuner

0%
2k
TS/JS library for building full-stack AI apps
created 2 years ago
updated 2 years ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems) and Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind).

LightRAG by HKUDS

1.1%
19k
RAG framework for fast, simple retrieval-augmented generation
created 10 months ago
updated 1 day ago
Feedback? Help us improve.