Summary
GPT-3.5 and GPT-4 models from OpenAI are prompt-based optimized for conversational interfaces. With prompt-based models, the user interacts with the model by entering a text prompt, to which the model responds with a chat completion.
In this module, you gained an overview of Azure OpenAI and the types of completions that you can use. Text completions such as classifications, and translations. And chat completions using different roles, the system role to set the rules and personality of the model and the user and assistant role which carry on the conversation.
The quality of the model's completion depends on the quality of the prompt that you give to it. You learned quite a bit about the prompt's components and how to optimize the prompt to produce high-quality completions.
Along the way, we created a .NET console application using the .NET Azure OpenAI SDK. That SDK follows the conventions of the other Azure SDKs so you can feel at home using it quickly.
You should now have a basic understanding of both completions and prompts to start your journey in building OpenAI-powered applications with .NET.