Hello, , how to delete document knowledge from index in llamaindex python? My current code storage_context = StorageContext.from_defaults(persist_dir="./gptdb/"+data['email']) index = load_index_from_storage(storage_context,service_context=service_context) index.delete_ref_doc(data["doc_id"], delete_from_docstore=True) storage_context.persist(persist_dir="./gptdb/"+data['email'])
How to get response fastly from large CSV file? I am using 3213row's CSV file, and could not get response with this file. Using small CSV file, I was able to get response fastly. Any solution?
How to use AzureOpenAI with function calling? Using OpenAI, it is working fine, but It is not working with AzureOpenAI func_response = getGPT35Client(True).complete(func_prompt, tools=[relevance_fn])
Hello, I am facing this error You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
For PDF documents, SimpleDirectoryReader makes Document Object Per page. Before You created Document Object from full document. Now I need to create Document Object based on only full document context.