Skip to content

Commit

Permalink
doc: fix readme azure example code (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
whysage authored Aug 22, 2023
1 parent fcec4dd commit b8dfa35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ openai.api_version = "2023-05-15"
chat_completion = openai.ChatCompletion.create(deployment_id="deployment-name", model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Hello world"}])

# print the completion
print(completion.choices[0].message.content)
print(chat_completion.choices[0].message.content)
```

Please note that for the moment, the Microsoft Azure endpoints can only be used for completion, embedding, and fine-tuning operations.
Expand Down

0 comments on commit b8dfa35

Please sign in to comment.