File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
python/samples/concepts/memory Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,19 @@ class MyDataModelList:
7171collection_name = "test"
7272MyDataModel = MyDataModelArray
7373
74+ # A list of VectorStoreRecordCollection that can be used.
75+ # Available stores are:
76+ # - ai_search: Azure AI Search
77+ # - postgres: PostgreSQL
78+ # - redis_json: Redis JSON
79+ # - redis_hashset: Redis Hashset
80+ # - qdrant: Qdrant
81+ # - volatile: In-memory store
82+ #
83+ # This is represented as a mapping from the store name to a
84+ # function which returns the store.
85+ # Using a function allows for lazy initialization of the store,
86+ # so that settings for unused stores do not cause validation errors.
7487stores : dict [str , Callable [[], VectorStoreRecordCollection ]] = {
7588 "ai_search" : lambda : AzureAISearchCollection [MyDataModel ](
7689 data_model_type = MyDataModel ,
You can’t perform that action at this time.
0 commit comments