File size: 591 Bytes
39b66c3
53ae001
 
 
 
39b66c3
 
53ae001
39b66c3
 
53ae001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: RAG Chatbot API
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
license: mit
---

# RAG Chatbot API

A Retrieval-Augmented Generation (RAG) API for documentation Q&A.

## API Endpoints

- `POST /query` - Submit a question and get an answer with sources
- `GET /health` - Health check endpoint
- `GET /docs` - Swagger API documentation

## Environment Variables

Set these in your HF Space secrets:

- `OPENAI_API_KEY` - OpenAI API key
- `QDRANT_URL` - Qdrant cloud URL
- `QDRANT_API_KEY` - Qdrant API key
- `COHERE_API_KEY` - Cohere API key (for embeddings)