Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.41 KB

File metadata and controls

21 lines (17 loc) · 1.41 KB
title titleSuffix description author ms.author ms.service ms.custom ms.topic ms.date manager keywords
Work with chat completion models
Azure OpenAI Service
Learn about the options for how to use models with the chat completions API
mrbullwinkle
mbullwin
azure-ai-openai
build-2023, build-2023-dataai, devx-track-python
how-to
03/26/2025
nitinme
ChatGPT

Work with chat completions models

GPT-3.5-Turbo, GPT-4, and GPT-4o series models are language models that are optimized for conversational interfaces. The models behave differently than the older GPT-3 models. Previous models were text-in and text-out, which means they accepted a prompt string and returned a completion to append to the prompt. However, the latest models are conversation-in and message-out. The models expect input formatted in a specific chat-like transcript format. They return a completion that represents a model-written message in the chat. This format was designed specifically for multi-turn conversations, but it can also work well for nonchat scenarios.

This article walks you through getting started with chat completions models. To get the best results, use the techniques described here. Don't try to interact with the models the same way you did with the older model series because the models are often verbose and provide less useful responses.

[!INCLUDE Chat Completions]