-
How to check number of redis doc store exists and their corresponding namespace? |
Beta Was this translation helpful? Give feedback.
Answered by
dosubot[bot]
Sep 18, 2024
Replies: 1 comment
-
To check the number of document stores that exist and their corresponding namespaces, you can refer to the
Based on this, there is one document store ( |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
johnhu33
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To check the number of document stores that exist and their corresponding namespaces, you can refer to the
StorageContext
class. TheStorageContext
class contains the following stores:Document Store:
docstore
(BaseDocumentStore)Index Store:
index_store
(BaseIndexStore)Vector Stores:
vector_stores
(Dict[str, BasePydanticVectorStore])vector_stores
dictionary keys.Graph Store:
graph_store
(GraphStore)Property Graph Store:
property_graph_store
(Optional[PropertyGraphStore])Based on this, there is one document store (
docstore
) and multiple vector stores, each with its own namespace. The namespaces for the vector sto…