Learn how to use the Azure AI slash command for AI-powered conversations and completions
/azure-ai
command enables you to interact with Azure OpenAI models through the Azure AI API. Perfect for generating text responses, creating AI-powered conversations, and leveraging various GPT models including GPT-5, GPT-4, and GPT-3.5 series for different use cases.
deployment
- The Azure deployment name (e.g., gpt-4, gpt-35-turbo)api_version
- The API version to usemax_tokens
- Maximum number of tokens to generate (default: 800)temperature
- Controls randomness in responses (0.0 to 1.0, default: 0.2)system
- System prompt to guide model behaviordeployment
(required) - Azure deployment nameapi_version
(required) - API versionmax_tokens
(optional) - Maximum response lengthtemperature
(optional) - Response randomness controlmessages
(required) - Array of conversation messages