-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add raw response variants for OpenAI functions
Add _with_raw_response variants for all OpenAI functions that return the raw API response as JSONB. These variants accept the same arguments as their regular counterparts, making it easy to access raw API responses when needed. New methods: - ai.openai_list_models_with_raw_response - ai.openai_embed_with_raw_response - ai.openai_moderate_with_raw_response - ai.openai_chat_complete_with_raw_response
- Loading branch information
1 parent
3fa323d
commit bf33286
Showing
8 changed files
with
540 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.