Closed IZUMI-Zu closed 8 months ago
微软通过 Azure Openai 提供 gpt 3.5 和 gpt 4 的支持,但 api 请求格式和 openai 的不同
curl https://AZURE_OPENAI_ENDPOINT/openai/deployments/AZURE_OPENAI_MODLE/chat/completions?api-version=2023-03-15-preview \ -H "Content-Type: application/json" \ -H "api-key: YOUR_API_KEY" \ -d '{ "messages": "[]", "max_tokens": 800, "temperature": 0.7, "frequency_penalty": 0, "presence_penalty": 0, "top_p": 0.95, "stop": null }'
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart
Stale issue message
微软通过 Azure Openai 提供 gpt 3.5 和 gpt 4 的支持,但 api 请求格式和 openai 的不同
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart