Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Give more freeway to ReAct agent to better handle open-ended questions e.g. "return ETHDenver 2024 MEV-related videos" #9

Open
vmeylan opened this issue Mar 6, 2024 · 0 comments

Comments

@vmeylan
Copy link
Collaborator

vmeylan commented Mar 6, 2024

Right now we only do one LLM call deciding whether to send to the query tool or not. This is great at answering the core questions when we know what we are looking for but it's not that great at answering more open-ended questions e.g. "return ETHDenver 2024 MEV-related videos".

Answering the latter would require more ReAct freedom with the agent to break down the high-level questions into sub-questions, perform the query engine look-ups, and then aggregate back.

As of issue write-time, the query engine response is directly sent back to the user because the agent performed very poorly by removing all the substance from the otherwise very thorough query engine answer. Perhaps a router to "breaking down into sub question" and aggregate back could work for this type of questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant