get_kwargs() — langchain Function Reference
Architecture documentation for the get_kwargs() function in config.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD ef7b8c79_e357_4337_5014_d738a3a5e281["get_kwargs()"] 3f727cf4_38d7_5e57_1492_800220e6e9f9["EvalConfig"] ef7b8c79_e357_4337_5014_d738a3a5e281 -->|defined in| 3f727cf4_38d7_5e57_1492_800220e6e9f9 682cf20d_5338_c7c4_4ecb_fe694cc89fa5["get_kwargs()"] 682cf20d_5338_c7c4_4ecb_fe694cc89fa5 -->|calls| ef7b8c79_e357_4337_5014_d738a3a5e281 682cf20d_5338_c7c4_4ecb_fe694cc89fa5["get_kwargs()"] ef7b8c79_e357_4337_5014_d738a3a5e281 -->|calls| 682cf20d_5338_c7c4_4ecb_fe694cc89fa5 style ef7b8c79_e357_4337_5014_d738a3a5e281 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/smith/evaluation/config.py lines 43–54
def get_kwargs(self) -> dict[str, Any]:
"""Get the keyword arguments for the `load_evaluator` call.
Returns:
The keyword arguments for the `load_evaluator` call.
"""
kwargs = {}
for field, val in self:
if field == "evaluator_type" or val is None:
continue
kwargs[field] = val
return kwargs
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does get_kwargs() do?
get_kwargs() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/smith/evaluation/config.py.
Where is get_kwargs() defined?
get_kwargs() is defined in libs/langchain/langchain_classic/smith/evaluation/config.py at line 43.
What does get_kwargs() call?
get_kwargs() calls 1 function(s): get_kwargs.
What calls get_kwargs()?
get_kwargs() is called by 1 function(s): get_kwargs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free