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
// Initialize a Kernel with a chat-completion serviceKernelkernel= ...;ChatCompletionAgentagent=new(){Kernel=kernel,Name="StoryTeller",Instructions="Tell a story about {{$topic}} that is {{$length}} sentences long.",Arguments=newKernelArguments(){{"topic","Dog"},{"length","3"},}};
and result was like properties are not setted. model ask to provide topic and length
Expected behavior
it shoud works
Platform
OS: [Windows]
IDE: [Visual Studio, Rider]
Language: [C#]
Source: [e.g. NuGet package version 0.1.0, pip package version 0.1.0, main branch of repository]
KSemenenko
changed the title
Bug: Semantic Kernel prompt template is not working ofr Agenetns
Bug: Semantic Kernel prompt template is not working for Agents
Jan 6, 2025
github-actionsbot
changed the title
Bug: Semantic Kernel prompt template is not working for Agents
.Net: Bug: Semantic Kernel prompt template is not working for Agents
Jan 6, 2025
Describe the bug
We try to use templats and acccording to this codumention https://learn.microsoft.com/en-us/semantic-kernel/frameworks/agent/agent-templates?pivots=programming-language-csharp it shoud work.
but in our case it doesent'
To Reproduce
We just use this
and result was like properties are not setted. model ask to provide topic and length
Expected behavior
it shoud works
Platform
SemanticKernel.Assistants Version="1.31.2"
Additional context
The text was updated successfully, but these errors were encountered: