Find answers from the community

Updated 2 months ago

Query-pipeline-with-memory-example-fails-with-valueerror-only-one-output-is-supported

Hello, I am following the QueryPipeline with Memory example from the documentation and it fails with ValueError: Only one output is supported. , Only differences are that I am using Gemini as llm and LLMRerank as the reranker, running on version 0.11.8. Are the examples to be trusted? Is this a known issue? Any pointers on how to correct the example?
W
R
L
7 comments
Can you share the example link please
only difference is reranker = LLMRerank(top_n=3, llm=llm) and llm is Gemini
@WhiteFang_Jr
In all honesty, the query pipeline is a tad deprecated/unsupported since introducing workflows. I thought I marked it in the docs, but missed this page I suppose

I would just use a workflow πŸ™‚
@Logan M Thanks
Add a reply
Sign up and join the conversation on Discord