langchain_core.utils.utils.build_extra_kwargs¶

langchain_core.utils.utils.build_extra_kwargs(extra_kwargs: Dict[str, Any], values: Dict[str, Any], all_required_field_names: Set[str]) Dict[str, Any][source]¶

Build extra kwargs from values and extra_kwargs.

Parameters
  • extra_kwargs – Extra kwargs passed in by user.

  • values – Values passed in by user.

  • all_required_field_names – All required field names for the pydantic class.