-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Python: Function call content type #5890
Labels
python
Pull requests for the Python Semantic Kernel
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
triage
Comments
markwallace-microsoft
added
python
Pull requests for the Python Semantic Kernel
triage
labels
Apr 16, 2024
evchaki
added
the
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
label
Apr 18, 2024
4 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Apr 25, 2024
…ntent (#5946) ### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Introducing FunctionCallContent and FunctionResultContent Changed ChatRole to AuthorRole Adapting ChatMessageContent to have 1 or more other contents within (currently TextContent or one of the above) Closes #5890 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Changed OpenAI classes, to remove OpenAIChatMessageContent and AzureChatMessageContent Changed OpenAI classes to create and parse FunctionCallContent and other new things. ### 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 - [ ] I didn't break anyone 😄
johnoliver
pushed a commit
to johnoliver/semantic-kernel
that referenced
this issue
Jun 5, 2024
…ntent (microsoft#5946) ### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Introducing FunctionCallContent and FunctionResultContent Changed ChatRole to AuthorRole Adapting ChatMessageContent to have 1 or more other contents within (currently TextContent or one of the above) Closes microsoft#5890 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Changed OpenAI classes, to remove OpenAIChatMessageContent and AzureChatMessageContent Changed OpenAI classes to create and parse FunctionCallContent and other new things. ### 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 - [ ] I didn't break anyone 😄
johnoliver
pushed a commit
to johnoliver/semantic-kernel
that referenced
this issue
Jun 5, 2024
…ntent (microsoft#5946) ### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Introducing FunctionCallContent and FunctionResultContent Changed ChatRole to AuthorRole Adapting ChatMessageContent to have 1 or more other contents within (currently TextContent or one of the above) Closes microsoft#5890 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Changed OpenAI classes, to remove OpenAIChatMessageContent and AzureChatMessageContent Changed OpenAI classes to create and parse FunctionCallContent and other new things. ### 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 - [ ] I didn't break anyone 😄
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
python
Pull requests for the Python Semantic Kernel
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
triage
We must support function calling content types for ChatMessages. See ADR here, and .NET implementation here.
The text was updated successfully, but these errors were encountered: