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

Summarize context and generate new query before retrieval knowledge #4139

Open
4 tasks done
sinomoe opened this issue May 7, 2024 · 3 comments
Open
4 tasks done

Summarize context and generate new query before retrieval knowledge #4139

sinomoe opened this issue May 7, 2024 · 3 comments
Assignees
Labels
💪 enhancement New feature or request 🤖 feat:agent Agent related topics

Comments

@sinomoe
Copy link
Contributor

sinomoe commented May 7, 2024

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

I was building a RAG bot using agent workflow and wanted to retrieve knowledge based on context and user input during Knowledge Retrieval, but I found that the Knowledge Retrieval node does not have contextual summarization capabilities, which causes Knowledge Retrieval to return unexpected results

2. Describe the feature you'd like to see

eg.

User: who is alex?
Knowledge Retrieval: who is alex?
Knowledge Retrieval Response: [chunks]
User: what did he major in?
Knowledge Retrieval (summarize previous context and user input) : what did alex major in?
Knowledge Retrieval Response: [chunks]

3. How will this feature improve your workflow or experience?

Make the results of knowledge retrieval more accurate and avoid generating incorrect answers

4. Additional context or comments

No response

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added 💪 enhancement New feature or request 🤖 feat:agent Agent related topics labels May 7, 2024
@takatost
Copy link
Collaborator

takatost commented May 7, 2024

Is the query rewrite node based on memory and query what you need?

@sinomoe
Copy link
Contributor Author

sinomoe commented May 7, 2024

Is the query rewrite node based on memory and query what you need?

Sounds like it could work. Is it a new node in development?

@takatost
Copy link
Collaborator

takatost commented May 7, 2024

In the roadmap, it's possible that support could be added as early as this month.
cc @VincePotato

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request 🤖 feat:agent Agent related topics
Projects
None yet
Development

No branches or pull requests

3 participants