This post discusses the use of the ChatGPT model in a previously developed Outlook add-in that helps users generate professional business emails.
The ChatGPT model is now available on both OpenAI and Azure OpenAI platforms, and the article explains the changes required to integrate the model into the add-in. The main difference is the way prompts are passed to the model, with ChatGPT requiring a collection of messages objects instead of a single sentence.
The post provides code samples for using ChatGPT with both OpenAI and Azure OpenAI.
















