Skip to content

Conversation

@joseharriaga
Copy link
Collaborator

@joseharriaga joseharriaga commented Sep 1, 2024

  • Fixed the deserialization of run steps when using file search. The internal representation of File Search as an IReadOnlyDictionary<string, string> is incorrect and causing issues during deserialization after the latest service. This fix changes this internal representation to IReadOnlyDictionary<string, BinaryData> instead.
  • Mitigated a .NET runtime issue that prevented ChatResponseFormat from serializing correct on targets including Unity.
  • Renamed SpeechGenerationOptions's Speed property to SpeedRatio.
  • Changed GeneratedSpeechFormat from an enum to an extensible enum.

Copy link

@Pauluz26 Pauluz26 left a comment

Choose a reason for hiding this comment

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

Would be great if this can be fixed, as we are running in production application problems because we use the FileSearch a lot.

… serializing correct on targets including Unity.
@joseharriaga joseharriaga changed the title Fix deserialization of run steps when using file search Fix deserialization of run steps when using file search and mitigate .NET runtime issue when serializing ChatResponseFormat Sep 3, 2024
@joseharriaga
Copy link
Collaborator Author

@Pauluz26 This fix is now live starting with version 2.0.0-beta.11:
🔗 https://www.nuget.org/packages/OpenAI/2.0.0-beta.11

Thank you!

@Pauluz26
Copy link

Pauluz26 commented Sep 4, 2024

Great! I will do some testings and update our deployments!

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.

4 participants