Azure OpenAI Chat Completion API in Bot Composer

Опубликовано: 07 Октябрь 2024
на канале: Learn Microsoft AI
1,155
13

Join this channel to get access to perks:
   / @vinothrajendran  
Chat Completion API : Each API has unique input data formatting requirements, which subsequently affect the overall design of prompts. The Chat Completion API is compatible with both the GPT-3.5-Turbo and GPT-4 models, and it expects input in a specific chat-like transcript format stored within an array of dictionaries.

In contrast, the Completion API is intended for use with older GPT-3 models and offers more flexibility in input formatting. It accepts a plain text string without strict formatting rules. While it's technically possible to use the GPT-3.5-Turbo models with either API, we strongly recommend utilizing the Chat Completion API for these models. For more detailed information, please refer to our comprehensive guide on using these APIs.