mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
improve embedding index docs and setup
This commit is contained in:
parent
f6cd3c0e38
commit
fc4a9843a3
3 changed files with 29 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue