Discover and explore top open-source AI tools and projects—updated daily.
mfmezgerFastAPI backend for conversational RAG agents
Top 99.8% on SourcePulse
This project provides a FastAPI-based REST backend for a conversational Retrieval-Augmented Generation (RAG) agent. It targets developers seeking to integrate document embedding, semantic search, and question-answering capabilities into their applications, leveraging flexible LLM providers and robust vector storage for enhanced accuracy and context-awareness.
How It Works
The system orchestrates a RAG pipeline using Langchain and Langgraph, powered by a FastAPI backend. It integrates with various LLM providers (Cohere, OpenAI, Google AI Studio, Ollama) via the LiteLLM abstraction layer, enabling flexible model selection. Documents are embedded and stored in Qdrant, supporting both semantic and hybrid search (semantic + BM25). User queries trigger retrieval of relevant documents, which are then used as context by the LLM to generate responses, reducing hallucinations and enabling QA over private data.
Quick Start & Requirements
.env file from template.env and populate necessary API keys, then run docker compose up -d.GEMINI_API_KEY, COHERE_API_KEY).https://github.com/mfmezger/conversational-agent-langchain.githttp://127.0.0.1:8001/docshttp://localhost:8501http://localhost:6333/dashboardhttp://localhost:6006Highlighted Details
Maintenance & Community
No specific details regarding maintainers, community channels (e.g., Discord, Slack), sponsorships, or roadmap were found in the provided text.
Licensing & Compatibility
The license type is not explicitly stated in the provided README snippet, which is a significant omission for due diligence. Compatibility for commercial use or closed-source linking cannot be determined without a specified license.
Limitations & Caveats
The EmbeddingManagement class contains placeholders for Google and OpenAI embedding providers, suggesting these may require manual implementation. Essential functionality relies on obtaining and configuring multiple API keys. The absence of explicit licensing information presents a potential adoption blocker.
6 days ago
Inactive
microsoft