We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b702232 commit 83ac2bfCopy full SHA for 83ac2bf
basic_githubmodels.py
@@ -20,7 +20,7 @@ class CalendarEvent(BaseModel):
20
21
22
completion = client.beta.chat.completions.parse(
23
- model=os.getenv("AZURE_OPENAI_GPT_DEPLOYMENT"),
+ model=model_name,
24
messages=[
25
{"role": "system", "content": "Extract the event information."},
26
{"role": "user", "content": "Alice and Bob are going to a science fair on Friday."},
0 commit comments