The current OpenAI Kotlin client cannot deserialize the Content Filter response returned by the Azure OpenAI API (Content Filter Documentation).
Changes:
Add a prompt filter parameter as optional in the current Chat Completions and Completions response.
Add a content filter parameter as optional in the current Chat Choice and Chat Chunk response.
What problem is this fixing?
This feature request aims to address the inability to use the Content Filter feature of the Azure OpenAI API with the current OpenAI Kotlin client. Currently, there is no workaround for this issue, which limits the functionality and usability of the client. Developers are unable to filter content as per their requirements, which can be a crucial feature for many applications.
Describe your change
Context:
Changes:
What problem is this fixing?
This feature request aims to address the inability to use the Content Filter feature of the Azure OpenAI API with the current OpenAI Kotlin client. Currently, there is no workaround for this issue, which limits the functionality and usability of the client. Developers are unable to filter content as per their requirements, which can be a crucial feature for many applications.