Skip to content

Commit 83ac2bf

Browse files
committed
Fix model_name for basic github example
1 parent b702232 commit 83ac2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basic_githubmodels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CalendarEvent(BaseModel):
2020

2121

2222
completion = client.beta.chat.completions.parse(
23-
model=os.getenv("AZURE_OPENAI_GPT_DEPLOYMENT"),
23+
model=model_name,
2424
messages=[
2525
{"role": "system", "content": "Extract the event information."},
2626
{"role": "user", "content": "Alice and Bob are going to a science fair on Friday."},

0 commit comments

Comments
 (0)