-
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!: consolidate OpenAI client configuration
BREAKING CHANGE: Replace individual client configuration parameters with a single `client_config` parameter. The `base_url` parameter has been moved into the new configuration structure. - Add new `ai.openai_client_config()` function to generate client configurations - Remove `base_url` parameter from all OpenAI functions - Add `client_config` parameter to all OpenAI functions - Support additional client options: timeout_seconds, organization, project, max_retries, default_headers, default_query Migration: Old: SELECT ai.openai_embed( model => 'model', input_text => 'text', base_url => 'url' ); New: SELECT ai.openai_embed( model => 'model', input_text => 'text', client_config => ai.openai_client_config(base_url => 'url') );
- Loading branch information
1 parent
bf33286
commit be5b0ee
Showing
6 changed files
with
249 additions
and
74 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
Oops, something went wrong.