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
{{ message }}
Repository navigation
.Net: API support for multiple chat roles for Chat completion APIs #2673
Labeled Urgent because it will require a breaking change.
This issue should just provide API-level support. Another issue will be created (and linked) for the actual template support. This API support should be exposed to the template engine so that it can call those APIs and return an array of chat messages.
name: Feature request
about: Suggest an idea for this project
We currently have a lack of SK Functions based on Chat prompts (e.g. instead of a single text prompt, a function is based on a mix of chat messages, where each message needs to be rendered, before calling the LLM.
Needed by Devis and memory service.
Activity
[-]Add SK Functions based on Chat prompts[/-][+]Support multiple chat roles for Chat completion APIs[/+]madsbolaris commentedon Oct 10, 2023
You should be able to author a semantic function that has multiple messages with arbitrary roles (system, assistant, and user)
6 remaining items
SergeyMenshykh commentedon Oct 23, 2023
The feature requires a few SK components to be changed, so it has been split into three smaller ones to tackle each component separately:
madsbolaris commentedon Nov 28, 2023
Marking as complete because the intermediate template now supports chat messages