Can I do a conversation followup?
# 🤝help
p
is there a way for the user to ask followup questions based on the previous messages it sent?
g
I think you can using an AI task card. I would set up in the AI task input : Question : @workflow.question [write the variable in which you stored the question] Trancript: {{conversation.SummaryAgent.transcript}}
Try figuring out what to put in the AI task instructions, besides you are the one who knows best what you want to do
p
I don't think my question was clear enough, so here's an example: - Hello, where can I dine in Berlin? - Bot: Hey! In tulip resturant - [this is where I want help] where is it located? - Bot: this location [normally the bot can't answer this question and won't understand the refrence]
g
Wouldnt you just put the reference in the Knowledge Base?
p
no it's not about one information, its about continuing to get more data about the specific information you just got
g
Yeah but thats it
If the user asks about tulip restaurant, it needs to find an answer in the knowledge base about the tulip restaurant
Anyways I do not think it is possible to answer such a question without a knowledge base, as the AI task for example only knows about general knowledge
p
@User any reference on that? [I will use a KB I just need to make the capture and retrieval more focused]
f
In the KB agent you can add context
You could give it the latest answer from the KB with turn.KnowledgeAgent.answer
p
Would this be like an ai generated responce? Or what processes are we talking about here?
f
turn.KnowledgeAgent.answer just has the latest response from the KB agent. You would just add it to the context input of the KB agent. The text is AI generated yes.
p
thanks a lot!
like this? I am unable to precisely envision how this will work
f
No You can't tell it which variable it should save it to. If you go to the agents (left side agent icon) and open the KB agent you will see an input field where you can give it some context. Add something like this text: Latest message: turn.KnowledgeAgent.answer
Query the knowledge base like you usually would then
p
ahhh got it! thanks a lot