top_k behavior in GraphCypherQAChain #30419
Unanswered
minyunhong
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Hi,
I expect top_k to return multiple responses, whether in Cypher queries or QA responses. However, I only receive a single Cypher query and a single QA response.
Is there anything additional that needs to be configured for top_k to function correctly?
(It does not seem to work even when modifying the prompt. Interestingly, when combining Cypher queries and prompts using langchain.chains.llm.LLMChain, I can retrieve multiple results as expected.)
Since top_k is an existing parameter, I would like to know how to obtain multiple responses using top_k alone without additional modifications.
I appreciate your insights on this!
Thanks.
System Info
Package Information
or
Beta Was this translation helpful? Give feedback.
All reactions