Hi @gsriniva
Thank you for reaching out and using Phidata! I’ve tagged the relevant engineers to assist you with your query. We aim to respond within 24 hours.
If this is urgent, please feel free to let us know, and we’ll do our best to prioritize it.
Thanks for your patience!
knowledge_base = PDFUrlKnowledgeBase(
urls=[“https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf”],
# Use LanceDB as the vector database
vector_db=LanceDb(
table_name=“recipes”,
uri=“tmp/lancedb”,
search_type=SearchType.vector,
embedder=OpenAIEmbedder(model=“text-embedding-3-small”),
),
)
knowledge_base.load()
results in:
INFO Creating collection
INFO Loading knowledge base
INFO Reading: https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf
ERROR Table not initialized. Please create the table first
INFO Added 14 documents to knowledge base
created an agent nevertheless, but seems no knowledge about provided subject present