RAG demo for bank customer support
Top 71.5% on sourcepulse
This project provides a Retrieval-Augmented Generation (RAG) demo for a bank's customer support bot, targeting developers building GenAI applications. It showcases how to use the Multinear platform to ensure reliability and guard against hallucinations in customer-facing AI.
How It Works
The system employs a RAG engine built with LangChain and OpenAI for document ingestion, indexing, and query processing. A FastAPI backend serves chat, reindexing, and session management endpoints, with an HTML/React frontend. The core innovation lies in the Multinear platform, which facilitates systematic experimentation and evaluation of GenAI applications by defining specific test tasks and running them against the bot.
Quick Start & Requirements
.env
file with OPENAI_API_KEY
, and set up the environment using uv sync
or pyenv
/venv
.uv run main.py
or python main.py
. Access the demo at http://127.0.0.1:8080
.uv run multinear web_dev
or multinear web_dev
. Access the experimentation platform at http://127.0.0.1:8000
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The demo focuses on a proof-of-concept and may not represent a production-ready system. Reliability and handling of ambiguous or off-topic questions are presented as challenges addressed by the Multinear platform, implying the base demo might have limitations in these areas.
8 months ago
Inactive