Closed lzell closed 2 months ago
You can use all of the OpenAI snippets in this project's README with one change. Initialize the OpenAI service with:
import AIProxy let openAIService = AIProxy.openAIService( partialKey: "partial-key-from-your-developer-dashboard", serviceURL: "service-url-from-your-developer-dashboard", requestFormat: .azureDeployment(apiVersion: "2024-06-01") )
How to use OpenAI through an Azure deployment
You can use all of the OpenAI snippets in this project's README with one change. Initialize the OpenAI service with: