-
Notifications
You must be signed in to change notification settings - Fork 133
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
Not All Tasks Support Conversation Memory #495
Comments
This originally came from the need for pipeline = Pipeline(
tasks=[
PromptTask(
"How would you ask the question considering the previous conversation: {{ args[0] }}",
rules=[Rule(value="Answer only with the new question.")],
),
TextQueryTask(
"{{ parent_output }}",
query_engine=vector_query_engine,
),
],
) Furthermore, adding Prompt Stack to Summary and Extraction Tasks introduces challenges with their recursive nature. So does it make sense to introduce the Prompt Stack to these utility oriented Tasks? Or should they always be complemented with a Prompt Task? |
Some of the Task types (Query, Summary, Extract) are missing integration with Conversation Memory since they don't operate off a Prompt Stack. This makes implementing something like conversational RAG (with Tasks, not Tools) challenging since the history of the conversation is not persisted. Some open ended questions:
The text was updated successfully, but these errors were encountered: