-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: .Net: Add function calling with AzureAIInference sample #9954
base: main
Are you sure you want to change the base?
Python: .Net: Add function calling with AzureAIInference sample #9954
Conversation
a99fc59
to
1cdd401
Compare
1cdd401
to
4777012
Compare
4777012
to
717ccfe
Compare
private IList<string> _stopSequences = []; | ||
private IList<ChatCompletionsToolDefinition> _tools = []; | ||
private IList<string>? _stopSequences; | ||
private IList<ChatCompletionsToolDefinition>? _tools; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initialising tools to an empty array causes a Problem in the JSON payload.
@RogerBarreto Is there a reason why this is being initialised to an empty array?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the Python concept sample typo fix. Thanks @markwallace-microsoft.
Motivation and Context
Closes #9933
Description
Contribution Checklist