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 682cf20d_5338_c7c4_4ecb_fe694cc89fa5["get_kwargs()"] 5528a09f_3682_a8b0_958b_cd9a898b6e3c["SingleKeyEvalConfig"] 682cf20d_5338_c7c4_4ecb_fe694cc89fa5 -->|defined in| 5528a09f_3682_a8b0_958b_cd9a898b6e3c ef7b8c79_e357_4337_5014_d738a3a5e281["get_kwargs()"] ef7b8c79_e357_4337_5014_d738a3a5e281 -->|calls| 682cf20d_5338_c7c4_4ecb_fe694cc89fa5 ef7b8c79_e357_4337_5014_d738a3a5e281["get_kwargs()"] 682cf20d_5338_c7c4_4ecb_fe694cc89fa5 -->|calls| ef7b8c79_e357_4337_5014_d738a3a5e281 style 682cf20d_5338_c7c4_4ecb_fe694cc89fa5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/smith/evaluation/config.py lines 72–77
def get_kwargs(self) -> dict[str, Any]:
kwargs = super().get_kwargs()
# Filer out the keys that are not needed for the evaluator.
for key in ["reference_key", "prediction_key", "input_key"]:
kwargs.pop(key, None)
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 72.
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