-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor OpenAI adapter configuration and API key retrieval
- Updated the OpenAI adapter settings structure to nest the API key under an 'openai' object for better organization. - Enhanced the API key retrieval logic in the SmartEmbedModelApiAdapter to prioritize adapter-specific settings, improving flexibility in configuration. - Removed the deprecated API key getter in the SmartEmbedOpenAIAdapter, streamlining the codebase.
- Loading branch information
Brian Joseph Petro
committed
Dec 6, 2024
1 parent
af78ec4
commit 9f74189
Showing
3 changed files
with
4 additions
and
7 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