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

[azopenai] Be more resilient to messages coming back with just content filtering… #21625

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

richardpark-msft
Copy link
Member

It's always possible for the Azure OpenAI to return chat messages that do not contain content (they carry content-filtering info instead).

…e careful to check if value are initialized because content can sometimes carry only content filtering annotations, etc...
@richardpark-msft
Copy link
Member Author

/azp run go - azopenai

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@richardpark-msft richardpark-msft merged commit 8f9adec into Azure:main Sep 28, 2023
@richardpark-msft richardpark-msft deleted the ai-examples branch September 28, 2023 00:31
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.

2 participants