-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net: API support for multiple chat roles for Chat completion APIs #2673
Comments
You should be able to author a semantic function that has multiple messages with arbitrary roles (system, assistant, and user) |
There needs to be a second issue with "high" priority for the actual template language. |
We believe the only "net new" work is allowing the template engine to return an array of messages if the connection is "chat". If the connection is "text" then the template engine does not need to break it up into multiple messages. |
The feature requires a few SK components to be changed, so it has been split into three smaller ones to tackle each component separately: |
Marking as complete because the intermediate template now supports chat messages |
Important
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.
Tasks
The text was updated successfully, but these errors were encountered: