phidatahq / phidata

Build AI Agents with memory, knowledge, tools and reasoning. Chat with them using a beautiful Agent UI.
https://docs.phidata.com
Mozilla Public License 2.0
15.4k stars 2.12k forks source link

Took a long time to build PDFKnowledgeBase #1299

Closed scottyeung closed 6 days ago

scottyeung commented 3 weeks ago

Hi there,

It took a long time to load the PDF like for 150 pages and for creating embeddings. How can I use async to get the status of the PDFKnowledge to know whether it's building or not?

ysolanky commented 3 weeks ago

Hey @scottyeung ! Unfortunately currently insert function of phidata vectordb classes works synchronously. Though I think it's an excellent suggestion to support async insert as well. I believe Qdrant and Pinecone offer this out of the box. I am going to add this to our feature requests. Thank you!