We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It was working before the update. Are there any alternatives to initialize the process?
def analyze_text_with_gpt4(text): response = openai.ChatCompletion.create( model="gpt-4-1106-preview", messages=[ {"role": "system", "content": "You are a helpful research assistant."}, {"role": "user", "content": f"....: {text}"} ], ) return response['choices'][0]['message']['content']
Except for switching back to the v0.28.
The text was updated successfully, but these errors were encountered:
You want this:
from openai import OpenAI client = OpenAI() def analyze_text_with_gpt4(text): response = client.chat.completions.create( model="gpt-4-1106-preview", messages=[ {"role": "system", "content": "You are a helpful research assistant."}, {"role": "user", "content": f"....: {text}"} ], ) return response.choices[0].message.content
Please try the migration CLI, it will make upgrading much easier!
openai migrate
Sorry, something went wrong.
docs: fix typo in CONTRIBUTING.md (#722)
05ff8f7
No branches or pull requests
It was working before the update. Are there any alternatives to initialize the process?
Except for switching back to the v0.28.
The text was updated successfully, but these errors were encountered: