adamant-agent-88924
07/01/2023, 4:21 PMearly-train-33247
07/02/2023, 1:54 AMearly-train-33247
07/02/2023, 1:55 AMevent.preview
in a code or expression)adamant-agent-88924
07/02/2023, 2:10 AMmammoth-hydrogen-6089
07/02/2023, 9:03 AMbusy-printer-481
07/02/2023, 7:31 PMI want you to classify input into one of 3 categories, like in examples:
GREETING or APPOINTMENT_REQUEST or OFFENSIVE_CLIENT.
- if client's message is a greeting (for example - 'hey', 'hello'), then return GREETING
- if client's message is a request to book appointment (for example - , 'hello I want to book an appointment', 'appointment pls', 'book appointment'), then return APPOINTMENT_REQUEST
- if client's message is something offensive, then return OFFENSIVE_CLIENT
and store return result in @userIntent variable
3. Add Transition blocks for each type of returned value.
Example:
workflow.userIntent === "GREETING"
workflow.userIntent === "APPOINTMENT_REQUEST"
And then you can procceed to next nodes, knowing what your client intent was.
Hope that's clear enough. If any questions, drop me a messageearly-train-33247
07/04/2023, 1:11 AMearly-train-33247
07/04/2023, 1:12 AMearly-train-33247
07/04/2023, 1:12 AMstraight-wolf-37371
07/04/2023, 1:43 AMearly-train-33247
07/04/2023, 1:52 AMacceptable-kangaroo-64719
07/04/2023, 9:57 AMstraight-wolf-37371
07/04/2023, 5:07 PMbusy-printer-481
07/04/2023, 7:22 PMearly-train-33247
07/05/2023, 12:43 AMearly-train-33247
07/05/2023, 12:47 AMadamant-agent-88924
07/06/2023, 7:52 AMadamant-agent-88924
07/06/2023, 7:53 AMadamant-agent-88924
07/06/2023, 9:07 AMadamant-agent-88924
07/06/2023, 9:08 AMadamant-agent-88924
07/06/2023, 9:09 AMadamant-agent-88924
07/06/2023, 9:12 AMacceptable-kangaroo-64719
07/06/2023, 11:00 AM{{turn.KnowledgeBase.answer}}
as an input to the task.adamant-agent-88924
07/06/2023, 12:02 PMadamant-agent-88924
07/06/2023, 12:05 PMadamant-agent-88924
07/06/2023, 12:06 PMacceptable-kangaroo-64719
07/06/2023, 2:45 PMHistory: {{event.state.session.fullHistory}},
Knowledge: {{turn.KnowledgeAgent.answer}}
adamant-agent-88924
07/06/2023, 3:35 PMadamant-agent-88924
07/06/2023, 3:35 PMadamant-agent-88924
07/06/2023, 3:36 PMacceptable-kangaroo-64719
07/06/2023, 5:04 PMadamant-agent-88924
07/07/2023, 5:28 AMacceptable-kangaroo-64719
07/07/2023, 10:54 AMadamant-agent-88924
07/08/2023, 4:57 AMstraight-wolf-37371
07/15/2023, 4:28 PMhttps://cdn.discordapp.com/attachments/1124736429050826762/1129811725756145794/image.png▾
https://cdn.discordapp.com/attachments/1124736429050826762/1129811726012002485/image.png▾
https://cdn.discordapp.com/attachments/1124736429050826762/1129811726288814170/image.png▾
https://cdn.discordapp.com/attachments/1124736429050826762/1129811726544674867/image.png▾
acceptable-kangaroo-64719
07/17/2023, 10:59 AMevent.preview
. I made a post about it here https://discord.com/channels/1108396290624213082/1128625552354455562/1128657522258087976