extract_params#

langchain_ibm.utils.extract_params(kwargs: Dict[str, Any], default_params: BaseSchema | Dict[str, Any] | None = None) Dict[str, Any][source]#
Parameters:
  • kwargs (Dict[str, Any])

  • default_params (BaseSchema | Dict[str, Any] | None)

Return type:

Dict[str, Any]