Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix Audio.transcribe() not passing organization #437

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

Closed

Conversation

alexey-pelykh
Copy link

Related to #340

cc @hallacy

@RobertCraigie RobertCraigie added the fixed in v1 Issues addressed by the v1 beta label Nov 6, 2023
@RobertCraigie
Copy link
Collaborator

Thanks for putting the time into opening a PR!

We've restructured this in the v1 SDK such that you can't pass in an organisation on a per-method basis, instead you'll have to set it at the client level or use the .with_options() method.

from openai import OpenAI

client = OpenAI(organization='...')
client.with_options(organization='...').chat.completions.create(...)

@alexey-pelykh alexey-pelykh deleted the fix/Audio.transcribe branch November 6, 2023 17:54
stainless-app bot pushed a commit that referenced this pull request Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in v1 Issues addressed by the v1 beta
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants