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
question="What are the main components of an LLM-powered autonomous agent system?"questions=generate_queries_decomposition.invoke({"question":question})
My question is, why don't we put the original question into the QA chain later?
questions.append(question) or questions + [question]
My understanding is that the task must ultimately answer the original question based on several previous multi-step Q&As, and the original query could include instruction on how to parse or format data.
BR
The text was updated successfully, but these errors were encountered:
Yes that's correct question and we have to append the original question to the last.
Just use : questions = [q for q in questions[1:] if q] + [question]
Linked image from paper (least to most) where it's mentioned.
Thanks
Hey,
My question is, why don't we put the original question into the QA chain later?
questions.append(question) or questions + [question]
My understanding is that the task must ultimately answer the original question based on several previous multi-step Q&As, and the original query could include instruction on how to parse or format data.
BR
The text was updated successfully, but these errors were encountered: