Hey team Is it possible to get documents from existing index? Want to use it together with
Plain Text
dataset_generator = RagDatasetGenerator.from_documents(
documents,
service_context=gpt_4_context,
num_questions_per_chunk=2, # set the number of questions per nodes
show_progress=True,
)
But when doing it with index.docstore.todiocs have an error 'str' object has no attribute 'id'