new gpt3-turbo and whisper API

Open
#11 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
api

Research direction

Start with the linked OpenAI API announcement and the OpenAI.create_completion entry point shown in the issue. Compare the wrapper's existing request paths with the chat-completions and Whisper APIs; done means the requested gpt-3.5-turbo and Whisper operations are supported without the reported 404.

Written by the indexing model from the issue text.

Description

enhancement

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
  }
}
Dominant language
Julia
Stars
119
Forks
25
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaML/OpenAI.jl

All issues in JuliaML/OpenAI.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.