Skip to content

Commit 75d0ffd

Browse files
committed
Adjust automation for FAISS vector store
1 parent d05353a commit 75d0ffd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/fixtures/vector_io.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def _factory(provider_name: str) -> list[Dict[str, str]]:
6666
env_vars.append({"name": "MILVUS_ENDPOINT", "value": "http://vector-io-milvus-service:19530"})
6767
env_vars.append({"name": "MILVUS_TOKEN", "value": MILVUS_TOKEN})
6868
env_vars.append({"name": "MILVUS_CONSISTENCY_LEVEL", "value": "Bounded"})
69+
elif provider_name == "faiss":
70+
env_vars.append({"name": "ENABLE_FAISS", "value": "faiss"})
71+
env_vars.append({"name": "FAISS_KVSTORE_DB_PATH", "value": "/opt/app-root/src/.llama/distributions/rh/sqlite_vec.db"})
6972

7073
return env_vars
7174

0 commit comments

Comments
 (0)