-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: Fix function calling integration tests (#8948)
### Motivation, Context and Description Some of the function-calling integration tests were failing occasionally due to various reasons not related to the function-calling functionality in SK. For example, the AI model could decide to call the same function twice instead of once in one out of ten integration test runs. Additionally, Azure may have activated the content management policy by default, causing a few integration tests to fail with the error: "Error: Exception while invoking function. HTTP 400 (content_filter), Parameter: prompt. The response was filtered due to the prompt triggering Azure OpenAI's content management policy. Please modify your prompt and retry." Lastly, some of the integration tests were disabled to unblock the latest release because the AI model started to call functions that were not related to the prompt but were advertised to the model. This PR fixes the intermittently failing tests and re-enables the disabled ones.
- Loading branch information
1 parent
be90d23
commit 8924bdc
Showing
6 changed files
with
80 additions
and
90 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.