forked from openai/openai-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Client abstraction over API resources (prototype) #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
johanste
wants to merge
22
commits into
main
Choose a base branch
from
client
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 3 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
6922ae8
Client abstraction over API resources (prototype)
johanste e1c33e6
Added some async endpoints
johanste ac61e45
Added image APIs
johanste b894768
Allow the use of `model` as a synonym for `deployment_id` when using …
johanste b4fdcd6
Formatteding client.py (black)
johanste a4f45ef
Added basic tests, more validation for client
johanste 49c7c8b
Update openai/client.py
johanste bd4960c
Update openai/client.py
johanste 91e9b58
Review feedback
johanste f992de1
Merge branch 'client' of github.com:johanste/openai-python into client
johanste 7a31602
Fix tests
johanste e3b59de
adding docstrings initial
kristapratico 24dad1d
Add live tests (#4)
kristapratico 8bb7d61
Add edit, audio, and moderation APIs to client abstraction (#5)
kristapratico 214242c
Merge branch 'client' into docstrings
kristapratico 917b97e
Better test fixtures
johanste e1edec4
more docstrings
kristapratico 48adec5
docstrings + type hints + remove prompt edits (deprecated)
kristapratico e82ed27
fix find/replace mistake
kristapratico 0cfaaff
add missing tests + adjust moderation kwargs passed
kristapratico d9b43f5
Merge branch 'openai:main' into client
johanste 5809b39
Merge pull request #6 from johanste/docstrings
kristapratico File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.