GitHub repository: Azure-Samples/function-python-ai-openai-chatgpt
Primary language: Bicep
Description: This sample shows how to take a ChatGPT prompt as HTTP Get or Post input, calculates the completions using OpenAI ChatGPT service, all hosted in an Azure Function.