Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make OpenAi interface extend Batch interface #433

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mXaln
Copy link

@mXaln mXaln commented Mar 12, 2025

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue Fix #383 ...

Describe your change

Since version 3.8.0 there is a Batch Api implemented. Though it is not accessible via OpenAI interface
This PR makes OpenAI interface extend Batch interface

What problem is this fixing?

When you create an instance of OpenAI class using function OpenAI(...), you can't access batch api like `openAI.batch(...), because it doesn't extend it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot access Batch API from OpenAI
1 participant