Update API endpoints

Open
#50 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia
Domain
api, documentation

Research direction

Review the repository's existing API calls and the linked OpenAI documentation first; the issue does not name files or tests. Break the unchecked capabilities into an agreed scope, then add the corresponding support and simple examples, verifying that each selected checklist item works.

Written by the indexing model from the issue text.

Description

enhancement

It would be excellent to add the newly available API endpoints and capabilities that have been announced today, eg,
[ ] Assistants (incl. Code Interpreter): https://platform.openai.com/docs/assistants/overview
[x] Vision (with B64 encoding of images): https://platform.openai.com/docs/guides/vision
[ ] Image generation (with DALL-E 3): https://platform.openai.com/docs/guides/images/usage?context=node
[ ] Audio (TTS/STT): https://platform.openai.com/docs/guides/text-to-speech
[ ] Moderations: https://platform.openai.com/docs/guides/moderation/quickstart
[ ] Files upload: https://platform.openai.com/docs/api-reference/files
[ ] Finetuning: https://platform.openai.com/docs/guides/fine-tuning

Extending current API calls, eg,
[x] JSON mode
[x] Seed
[ ] Logprobs -- not available on the API as of 11th Nov
[ ] Function calling (available through the current interface but we should add some examples here)

Ideally, we would also add some simple examples to the docs.
There are many cool capabilities (eg, function calling, logit-bias-classifiers, ...) that are easy to do with the existing APIs, but hard to access for beginners.

I'm happy to take a stab at it over the weekend if no one is interested!

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.