File size: 544 Bytes
b2b6341 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | import os
from backend.config import VECTOR_STORE_TYPE
if VECTOR_STORE_TYPE == "pinecone":
from .pinecone_store import (
add_vectors,
search_vectors,
delete_vectors,
get_total_vectors,
get_stats
)
print("[VectorStore] Using PINECONE as the vector storage engine.")
else:
from .faiss_store import (
add_vectors,
search_vectors,
delete_vectors,
get_total_vectors,
get_stats
)
print("[VectorStore] Using FAISS as the vector storage engine.")
|