My question is about is from watching EP 05: Building a simple customer support bot.
I understand everything except the AI Task Input {{conversation.SummaryAgent.transcript}}
And the Store result in variables
- “nextAssistantMessage”
Is it possible to shoot a video or explain the concept with multiple examples of this?
For example:
AI task: You are a real estate assistant who answers questions for customers and prospective buyers. Your tone is serious.
—- Please explain the purpose or function of the AI task Input
And why the the AI Task Input field is styled as text - and includes a @ which indicates this field can accept a variable.
— Also I would like to understand the logic of “Store result in variables:
“Next AssistantMessage”
________
Below are my notes from the YT video:
____________
You need to make sure AI is grabbing the information from the LAST Question
26:52 in video
Start —>
Node —> Title “Assistant”
Cards:
—>o If answered from the knowledge base
—>o If user wants a human
AI stars on left of card - “next AssistantMessage”
Text Card —> @nextAssistantMessage
__________________
++++++++++++++++ IMPORTANT STEP
The card with the AI stars and the title “nextAssistantMessage” in instruction panel:
1)Task Instruction:
You are a helpful assistant called Pixel who wants to answer questions about Woody, the carpentry company. Your primary goal is to support sales to the best of your ability. Your tone is serious.
Answer the last user message in the transcript.
2)”AI Task Input” - this is the next field below “Task Instruction”
This field has simple code {{conversation.SummaryAgent.transcript}}
(I think Botpress will write the code for these statements
Green - Evaluates — it is only a “placeholder
You cannot - place variables inside AI Task Instructions
You can only place a variable in a field that has an “@“ on the side of the field
This field has simple code {{conversation.SummaryAgent.transcript}}
“Store result in variables”