generated from langchain-ai/integration-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatibility Implementation for Ragas.io with WatsonxLLM Parameters …
…Handling (#5) * To ensure compatibilty with ragas.io, two two methods were added to ensure only valid parameters are fed into WatsonxLLM and to add the capability to receive parameters outside the params dictionary, which is how ragas invokes the generate method. * Added test case for invoke with parameters outside params dictionary * Renamed test function * fix _override_chat_params and _validate_chat_params method, add support when streaming, make format, make lint --------- Co-authored-by: julioe-sanchezd <[email protected]> Co-authored-by: Mateusz Szewczyk <[email protected]>
- Loading branch information
1 parent
b9a5318
commit 0c81f32
Showing
2 changed files
with
190 additions
and
10 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