Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Support for Azure Content Filter Response#300

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
gh-abhay wants to merge4 commits intoaallam:main
base:main
Choose a base branch
Loading
fromgh-abhay:main

Conversation

@gh-abhay
Copy link

QA
Bug fix?no
New feature?yes
BC breaks?no
Related IssueFix#294

Describe your change

Context:

  • 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.

Copy link
Owner

@aallamaallam left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution! I've left a small suggestion :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@aallamaallamAwaiting requested review from aallam

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feature Request: Add Support for Content Filter Response Deserialization OR Expose Raw Response in OpenAI Kotlin Client

2 participants

@gh-abhay@aallam

[8]ページ先頭

©2009-2025 Movatter.jp