Add examples in the docs
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- julia
- Domain
- api, documentation
Research direction
Start by reviewing the existing documentation and how the chat and other endpoints are currently described. Use the listed ideas—modes, HTTP debugging, common errors, async behavior, and templates—to define a small initial scope. Done should be a clearly scoped set of practical examples and troubleshooting guidance for newcomers.
Written by the indexing model from the issue text.
Description
It would be excellent to add some examples in the docs.
I suspect it is hard for newcomers to use the various endpoints and also debug the common error. There is a lot of knowledge how we use these endpoints that is not captured anywhere yet.
Ideas:
- How to call chat endpoint with the new modes (function call/ tools call, json mode, logit bias classifier)
- HTTP debugging and tips (errors when calling wrong model-endpoint combination, dropped calls, timeouts, async challenges (Pool vs Threads))
- Common problems (truncated output for vision models, etc)
- Some practical example to build easy templates with structs?
WDYT? We could probably start small.
- Dominant language
- Julia
- Stars
- 119
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaML/OpenAI.jl
-
bug good first issue
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
FR: Responses APIOpen
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Update API endpointsOpenenhancement
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
wontfix
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 30/100
All issues in JuliaML/OpenAI.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
grame-cncm/faust#1409 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
SciML/PETScDiffEq.jl#521 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaML/MLUtils.jl#270 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EnzymeAD/Reactant.jl#3828 ·
Maintainers usually reply within 1 day