This repository demonstrates a simple implementation of Realtime Augmented Generation using Chainlit. It showcases how to integrate Chainlit with LLMs through LangChain to generate and augment content in real-time. The project includes examples and documentation to help you get started quickly.
- Integration with multiple AI models (OpenAI GPT and VertexAI Gemini)
To get started with this project, follow the instructions below:
-
Clone the repository:
git clone https://github.com/ghif/llm-rag.git
-
Navigate to the project directory:
cd llm-rag -
Install the required dependencies:
pip install -r requirements.txt
-
Run the application: Without RAG:
chainlit run app_plain.py
With RAG:
chainlit run app.py
We welcome contributions! Please read our contributing guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for more information.