Notebooks
A
Azure
Basic Chatcompletions Example Sdk

Python SDK Sample


Chat Completions

Chat models take a series of messages as input, and return a model-generated message as output. The main input is the messages parameter. Messages must be an array of message objects, where each object has a role (either "system", "user", or "assistant") and content (the content of the message).

[ ]
[9]
True

Setup Parameters

[10]
[ ]