Skip to content
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: Added example for chat completion with data and function calling #10261

Merged

Conversation

dmytrostruk
Copy link
Member

Motivation and Context

Resolves: #10179

This PR contains an example which shows how to use Azure OpenAI Chat Completion with data and function calling.

Note: Data source and function calling are not supported in a single request. Enabling both features will result in the function calling information being ignored and the operation behaving as if only the data source was provided. The provided example shows how to address this limitation.

Contribution Checklist

@dmytrostruk dmytrostruk self-assigned this Jan 22, 2025
@dmytrostruk dmytrostruk requested a review from a team as a code owner January 22, 2025 16:58
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Jan 22, 2025
Copy link
Member

@markwallace-microsoft markwallace-microsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some updates to the documentation

@dmytrostruk dmytrostruk enabled auto-merge January 24, 2025 16:39
@dmytrostruk dmytrostruk added this pull request to the merge queue Jan 24, 2025
Merged via the queue into microsoft:main with commit 1ce010b Jan 24, 2025
17 checks passed
@dmytrostruk dmytrostruk deleted the function-calling-on-data-example branch January 24, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.Net: Create sample show how to combine function calling on on your data
3 participants