You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Handlebars template, the code {{#each chatHistory}} should be replaced with {{#each history}}. Alternatively, the code { "history", history } should be replaced with { "chatHistory", history } for the program to function correctly.
This issue is causing confusion and may lead to incorrect implementation. A prompt correction would be appreciated.
Description:
There seems to be a discrepancy in the code snippets provided in the Create handlebars template for intent 04-Templatizing-Prompts
/Program.cs and Semantic Kernel Templatizing your prompts
In the Handlebars template, the code
{{#each chatHistory}}
should be replaced with{{#each history}}
. Alternatively, the code{ "history", history }
should be replaced with{ "chatHistory", history }
for the program to function correctly.This issue is causing confusion and may lead to incorrect implementation. A prompt correction would be appreciated.
Steps to Reproduce:
/Program.cs.
Expected Result:
The Handlebars template should be
{{#each history}}
or the code should be{ "chatHistory", history }
.Actual Result:
The Handlebars template is
{{#each chatHistory}}
and the code is{ "history", history }
.Thank you for your attention to this matter.
The text was updated successfully, but these errors were encountered: