GITBOOK-56: No subject
parent
0e7357d002
commit
0d222e7fdf
|
|
@ -78,6 +78,7 @@
|
|||
* [OpenLLM](tutorials/model-configuration/openllm.md)
|
||||
* [LocalAI](tutorials/model-configuration/localai.md)
|
||||
* [Ollama](tutorials/model-configuration/ollama.md)
|
||||
* [Vector Database Migrate Tool](tutorials/vector-database-migrate-tool.md)
|
||||
|
||||
## Community
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
# Vector Database Migrate Tool
|
||||
|
||||
When you want to switch to another vector database, you can deactivate or delete the original vector database after switching.
|
||||
|
||||
## How to use
|
||||
|
||||
### Step:
|
||||
|
||||
1. If you are starting from local source code, modify the environment variable in the `.env` file to the vector database you want to migrate to.
|
||||
|
||||
For example: 
|
||||
|
||||
```
|
||||
VECTOR_STORE=qdrant
|
||||
```
|
||||
|
||||
2. If you are starting from `docker compose`, modify the environment variable in the `docker-compose.yaml` file to the vector database you want to migrate to, both api and worker are all needed.
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
# The type of vector store to use. Supported values are `weaviate`, `qdrant`, `milvus`.
|
||||
VECTOR_STORE: qdrant
|
||||
```
|
||||
|
||||
3. run the below command in your terminal or docker container
|
||||
|
||||
```
|
||||
flask vdb-migrarte
|
||||
```
|
||||
Loading…
Reference in New Issue