OpenAI.jl icon indicating copy to clipboard operation
OpenAI.jl copied to clipboard

new gpt3-turbo and whisper API

Open Moelf opened this issue 2 years ago • 1 comments

https://openai.com/blog/introducing-chatgpt-and-whisper-apis

julia> CC = OpenAI.create_completion("-......................", "gpt-3.5-turbo")
ERROR: request status HTTP/2 404: {
  "error": {
    "message": "This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?",
    "type": "invalid_request_error",
    "param": "model",
    "code": null
  }
}

Moelf avatar Mar 02 '23 04:03 Moelf

For Whisper, there's a package recently developed that wraps the C++ model implementation rather than the API if that's a better use case for some people. Obviously we'll still implement the API wrapping here.

roryl23 avatar Apr 07 '23 20:04 roryl23