Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aabboudi/multimodal-rag-api

Multimodal RAG system for LLMs served using FastAPI.
https://github.com/aabboudi/multimodal-rag-api

chromadb fastapi langchain python rag

Last synced: 26 days ago
JSON representation

Multimodal RAG system for LLMs served using FastAPI.

Awesome Lists containing this project

README

        

# Multimodal RAG System for LLMs

This project implements a multimodal RAG (Retrieval-Augmented Generation) system for large language models, enabling you to query files through API endpoints. Please note that the API expects the Ollama server to be running.

### Technologies Used

- [FastAPI](https://fastapi.tiangolo.com/): to build the API
- [LangChain](https://www.langchain.com/): to manage language model interactions
- [Chroma](https://www.trychroma.com/): to store and handle multimodal data

### Installation

Clone the repo
```bash
git clone https://github.com/aabboudi/multimodal-rag-api.git
cd multimodal-rag-api
```

Create and activate a virtual environment
```bash
python -m venv venv
\venv\Scripts\activate
```

Install dependencies
```bash
pip install -r requirements.txt
```

Run the server
```bash
fastapi dev app/main.py
```

### Usage

After running the server, you can send queries to the API endpoints to interact with the multimodal RAG system. Queries can be sent through the docs, Postman, or the command line.