You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a teams of agent were one of the sub agent has access to knowledgebase. While retrieving the data from Knowledgebase, its always returning last page number of the documen as the page number of result meta_data.
Description
I have created a teams of agent were one of the sub agent has access to knowledgebase. While retrieving the data from Knowledgebase, its always returning last page number of the documen as the page number of result meta_data.
Below is my knowledge declaration
pdf_knowledge_base= PDFKnowledgeBase(
path=Path(r"Docs"),
vector_db=LanceDb(
uri="vectordb",
table_name="policy_data", search_type=SearchType.hybrid,
embedder=azure_embedding_model
),
)
It's fetching the contents properly, only page no is coming wrong.
Steps to Reproduce
Give a doc related query to agent
Agent will fetch the records from Knowledgebase with wrong page number
Agent Configuration (if applicable)
No response
Expected Behavior
Page no should be the actual page no from where result was fetched 4
Actual Behavior
Giving last page no of the pdf for every search meta data
Screenshots or Logs (if applicable)
Environment
Possible Solutions (optional)
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: