Giter Site home page Giter Site logo

Comments (5)

Tom-CCC avatar Tom-CCC commented on May 9, 2024 2

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.

jeffclarenz avatar jeffclarenz commented on May 9, 2024 1

Setting the API version to 2023-03-15-preview fixed this for me

from openai-api-dotnet.

knavet avatar knavet commented on May 9, 2024

Same. I'm getting a 404 / Resource not found error

from openai-api-dotnet.

JakobWl avatar JakobWl commented on May 9, 2024

@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.

KimihikoSaito avatar KimihikoSaito commented on May 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.