-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for OpenAI custom base url and default headers + RITS Inf…
…erence engine (#1385) * Add support for OpenAI custom base url and default headers Signed-off-by: Martín Santillán Cooper <[email protected]> * Add RITSInferenceEngine This commit also refactor how openai credentials are prepared. The change allows credentials being passed by parameter or via env variables. The mechanism is similar -but simpler- to the way wml inference engine gets the credentials Signed-off-by: Martín Santillán Cooper <[email protected]> * Fixed artifact overide to allow ":" in override values Signed-off-by: Yoav Katz <[email protected]> * Moved get_api_param to where it was used Changed to use standard TypedDict typing in WMLCredentials. Signed-off-by: Yoav Katz <[email protected]> * Added RITS to CrossProviderInferenceEngine Signed-off-by: Yoav Katz <[email protected]> * Added error message when providing wrong format param Signed-off-by: Yoav Katz <[email protected]> * Added vision models to RITS Signed-off-by: Yoav Katz <[email protected]> * Update inference_tests.yml with RITS_API_KEY_SUPPORT * Update inference_tests.yml * Skip testing RITS if RITS_API_KEY not defined. Signed-off-by: Yoav Katz <[email protected]> * Removed RITS from xternal tests because an not run in actions * fixes * fixes * fixes * fixes --------- Signed-off-by: Martín Santillán Cooper <[email protected]> Signed-off-by: Yoav Katz <[email protected]> Co-authored-by: OfirArviv <[email protected]> Co-authored-by: Yoav Katz <[email protected]> Co-authored-by: Yoav Katz <[email protected]>
- Loading branch information
1 parent
bf700b8
commit d116a0b
Showing
6 changed files
with
119 additions
and
37 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
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