Comments (5)
I believe they just added an support for this. I had to manually change my API version to make it work though to "2023-03-25-preview"
api.ApiVersion = "2023-03-15-preview";
Read first sentence under "Chat Completions" here: https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#chat-completions
from openai-api-dotnet.
Setting the API version to 2023-03-15-preview fixed this for me
from openai-api-dotnet.
Same. I'm getting a 404 / Resource not found error
from openai-api-dotnet.
@knavet due to azure using the /completions path rather than /chat/completion i ended up using the CompletionsEndpoint for this but this is obviously unintentional either on azures side or this wrappers
from openai-api-dotnet.
You can use ChatML with completions (NOT chat) endpoint.
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/chatgpt?pivots=programming-language-chat-ml
from openai-api-dotnet.
Related Issues (20)
- ✨ Alternative implementations also available HOT 8
- Azure - HTTP status code: NotFound. Content: {"error":{"code":"404","message": "Resource not found"}})' HOT 1
- Image Generation: DALL-E-3 HOT 7
- Error converting value "gpt-3.5-turbo-0613" to type 'OpenAI_API.Models.Model HOT 3
- StreamResponseEnumerableFromChatbotAsync (and StreamResponseFromChatbotAsync) call endpoint twice HOT 3
- OpenAI Assistant API support HOT 3
- GetSpeechAsStreamAsync - NAudio HOT 4
- Image variations HOT 1
- [UNITY] Chat Streaming Error: WebException: The request was aborted: The request was canceled. HOT 3
- Getting 100 sec timeout when using completion endpoint. I tried Httpclient HOT 1
- Chat Streaming does not work HOT 2
- - nevermind - can delete HOT 5
- The SSL connection could not be established, see inner exception. HOT 1
- Running the tests HOT 1
- ChatMessage Content bugs introduced on 1.9 version
- How to customize API website addresses? HOT 2
- Azure Open AI Bring Your Own Data Unity ???
- How to choose gpt-4-0125-preview completion model to be used?
- Is it possible to save chat history in Json format, for later upload history from file? HOT 1
- How to use openAI Assistants?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openai-api-dotnet.