Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Has anyone experienced an issue with
Has anyone experienced an issue with
Inactive
0
Follow
A
Adel
3 months ago
ยท
Has anyone experienced an issue with LlamaParse where the LLM only responds based on the first page of a PDF? Any tips on what to check to identify the problem?
L
A
6 comments
Share
Open in Discord
L
Logan M
3 months ago
Can you clarify what you mean? Or give some code sample?
A
Adel
3 months ago
for an example , a job contract , the salary is mentioned in page 9
A
Adel
3 months ago
when i ask a question about it to the llm, on terminal output i only see it retrived nodes of page 1
A
Adel
3 months ago
and when i ask it how many pages you have access to in a given pdf , it also says 1
A
Adel
3 months ago
while its a 9 page pdf
L
Logan M
3 months ago
Well, its only retrievieing the topk, so its only every going to retrieve the top k nodes. Asking how many pages there are will never work
Sounds like you might just need to increase your top k,
index.as_query_engine(similarity_top_k=4)
for example
Add a reply
Sign up and join the conversation on Discord
Join on Discord