| 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.") | |