-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: Support function call content classes for AI streaming API (#6449)
This PR is the second and last one in the series of PRs to leverage `FunctionCallContent` and `FunctionResultClass` classes to represent function calls and function results in a service/connector/model agnostic way. The first PR: [.Net: Function call content types](#5800) added the classes and updated the **non-streaming** AI API to use them. This PR updates the **streaming** API to utilize the classes. Related ADR: [Function call content](https://github.com/microsoft/semantic-kernel/blob/main/docs/decisions/0041-function-call-content.md) Related issue: [.Net: Support FunctionCallContent for streaming](#5818) Note: More tests and examples will be added in scope of this PR. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
- Loading branch information
1 parent
890eab1
commit ae2f72b
Showing
15 changed files
with
1,491 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.