improve embedding index docs and setup

This commit is contained in:
Ramnique Singh 2025-05-06 16:30:20 +05:30 committed by akhisud3195
parent f6cd3c0e38
commit fc4a9843a3
3 changed files with 29 additions and 1 deletions

View file

@ -80,6 +80,18 @@ By default, Rowboat uses OpenAI's `text-embedding-3-small` model for generating
```bash
# Override the default embedding model
export EMBEDDING_MODEL=your-preferred-model
export EMBEDDING_VECTOR_SIZE=1536
```
**Important NOTE**
The default size for the vectors index is 1536. If you change this value, then you must delete the index and set it up again:
```bash
docker-compose --profile delete_qdrant --profile qdrant up --build delete_qdrant qdrant
```
followed by:
```bash
./start # this will recreate the index
```
You can also change the model provider like so: