Find answers from the community

Updated 2 years ago

Yes i understand that part but how do i

Yes i understand that part. but how do i create the storage context. for example:

Plain Text
storage_context = StorageContext.from_defaults(docstore=json_data_docstore)

does not work

Plain Text
storage_context = StorageContext.from_defaults(docstore=json_data_docstore,
    vector_store=json_data_vector,
    index_store=json_data_index)

does not work

Plain Text
storage_context = StorageContext.from_defaults(json_data_docstore,json_data_index,json_data_vector)

does not work

what am i missing?
h
L
3 comments
Greetings, I was wondering if you got this figured out. I think I am facing a similar issue.
Apologies for the confusion on the storage context guys, diving more into this later today to make some solid examples
(As for this case, still not sure why it doesn't work)
Add a reply
Sign up and join the conversation on Discord