Find answers from the community

Updated 2 months ago

Hi. I'm wondering whether it's possible

Hi. I'm wondering whether it's possible to run a QueryPipeline that typically connect retriever to a synthesizer, with one argument query_str that is used by both retriever and synthesizer but additional arguments foo and bar for example that would partial format the prompt from the synthesizer? I've been unsuccessful until now with run_multi because I don't see how to pass additional variables to format the prompt template to the synthesizer
L
p
2 comments
You'd have to either remove the synthesizer and use actual LLM calls, or create a template for the synthesizer on the fly that includes the extra arguments already in the template
thanks a lot for your quick feedback as usual
Add a reply
Sign up and join the conversation on Discord