Skip to content
Discussion options

You must be logged in to vote

Hi @abhinav-jha-dev ! It looks like the syntax in skprompt.txt file is a little bit incorrect.
The variables should start with $ sign, so in your case: {{$choices}}, {{$request}}. Also, I'm not sure there is a support for indexes, so instead of accessing first choice with {{choices.[0]}}, you will need to define separate variable in KernelArguments, for example firstChoice, assign it from code and then access it from prompt with {{$firstChoice}}.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by abhinav-jha-dev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants