Using context variables inside prompts. #880
Unanswered
Julian-BFacal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have seen in the Prompt Customization documentation that there is the possibility to reference context variables inside prompts. However, I have tried to call several variables, ones that i made up like $name or ones that are integrated from Nemo like $last_user_message but I haven't found any success. Ive tried {{ $name }}, but it just gives an empty response. I don't know what I'm doing wrong or if I simply misinterpreted the documentation.
I also wanted to know if there is any way i can access the last user intent so I can use it as a variable when calling actions from colang to validate that the flow is working as intended. For example, if i expect a name to be given that the user intent is not a negative response.
Beta Was this translation helpful? Give feedback.
All reactions