Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -1,10 +1,24 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Medical Chatbot API
|
2 |
+
|
3 |
+
This is a FastAPI-based medical chatbot API that provides medical information and answers questions.
|
4 |
+
|
5 |
+
## API Endpoints
|
6 |
+
|
7 |
+
- `GET /health`: Health check endpoint
|
8 |
+
- `POST /chat`: Chat endpoint for medical queries
|
9 |
+
|
10 |
+
## Environment Variables
|
11 |
+
|
12 |
+
The following environment variables need to be set:
|
13 |
+
- `QDRANT_URL`: URL for the Qdrant vector database
|
14 |
+
- `QDRANT_API_KEY`: API key for Qdrant authentication
|
15 |
+
|
16 |
+
## Development
|
17 |
+
|
18 |
+
To run locally:
|
19 |
+
|
20 |
+
```bash
|
21 |
+
docker compose up --build
|
22 |
+
```
|
23 |
+
|
24 |
+
The API will be available at `http://localhost:7860`
|