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: updated Chat Message Content with Function Call and Result Content #5946
Merged
eavanvalkenburg
merged 8 commits into
microsoft:main
from
eavanvalkenburg:function_call_content
Apr 25, 2024
Merged
Python: updated Chat Message Content with Function Call and Result Content #5946
eavanvalkenburg
merged 8 commits into
microsoft:main
from
eavanvalkenburg:function_call_content
Apr 25, 2024
Conversation
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
markwallace-microsoft
added
the
python
Pull requests for the Python Semantic Kernel
label
Apr 22, 2024
Python 3.8 Test Coverage Report •Python 3.8 Unit Test Overview
|
eavanvalkenburg
changed the title
Python: Function call content
Python: updated Chat Message Content with Function Call and Result Content
Apr 22, 2024
eavanvalkenburg
force-pushed
the
function_call_content
branch
2 times, most recently
from
April 22, 2024 14:35
ec65f91
to
8f3de14
Compare
Python 3.10 Test Coverage Report •Python 3.10 Unit Test Overview
|
eavanvalkenburg
force-pushed
the
function_call_content
branch
from
April 22, 2024 18:25
8f3de14
to
6e82c66
Compare
juliomenendez
approved these changes
Apr 22, 2024
python/samples/kernel-syntax-examples/chat_gpt_api_function_calling.py
Outdated
Show resolved
Hide resolved
python/samples/kernel-syntax-examples/chat_gpt_api_function_calling.py
Outdated
Show resolved
Hide resolved
eavanvalkenburg
force-pushed
the
function_call_content
branch
from
April 23, 2024 18:13
189856d
to
2ac25dd
Compare
alliscode
reviewed
Apr 23, 2024
python/samples/kernel-syntax-examples/azure_chat_gpt_with_data_api.py
Outdated
Show resolved
Hide resolved
juliomenendez
approved these changes
Apr 23, 2024
eavanvalkenburg
force-pushed
the
function_call_content
branch
3 times, most recently
from
April 24, 2024 14:50
4c658ae
to
f6713f3
Compare
dmytrostruk
approved these changes
Apr 24, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 24, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 24, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 24, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 24, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 24, 2024
eavanvalkenburg
force-pushed
the
function_call_content
branch
from
April 24, 2024 17:50
f6713f3
to
1b86f3a
Compare
dmytrostruk
approved these changes
Apr 24, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 25, 2024
eavanvalkenburg
force-pushed
the
function_call_content
branch
from
April 25, 2024 07:09
1b86f3a
to
c3027d4
Compare
juliomenendez
approved these changes
Apr 25, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 25, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
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
Changed OpenAI classes, to remove OpenAIChatMessageContent and AzureChatMessageContent
Changed OpenAI classes to create and parse FunctionCallContent and other new things.
Contribution Checklist