Skip to content

Add FunctionCallContent#320

Merged
milderhc merged 2 commits intomicrosoft:mainfrom
milderhc:function-call-content
May 13, 2025
Merged

Add FunctionCallContent#320
milderhc merged 2 commits intomicrosoft:mainfrom
milderhc:function-call-content

Conversation

@milderhc
Copy link
Contributor

@milderhc milderhc commented May 13, 2025

Motivation and Context

Adding a common way to get Function Call contents after a chat completion making use of the KernelContent<T> items that are part of the ChatMessageContent. All function calls of a message can be requested via FunctionCallContent.getFunctionCalls(ChatMessageContent<?>).

Deprecating OpenAIFunctionToolCall to promote use of FunctionCallContent instead.

Fixes: #319

Description

Contribution Checklist

@milderhc milderhc merged commit afcfc21 into microsoft:main May 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add FunctionCallContent class and update services

2 participants