test_json_distance_evaluator_parse_json() — langchain Function Reference
Architecture documentation for the test_json_distance_evaluator_parse_json() function in test_json_distance.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 39c71498_6d1a_2d8c_0709_1f1743712d07["test_json_distance_evaluator_parse_json()"] ef87158d_6d6d_572c_0182_38a26f74f2d3["test_json_distance.py"] 39c71498_6d1a_2d8c_0709_1f1743712d07 -->|defined in| ef87158d_6d6d_572c_0182_38a26f74f2d3 style 39c71498_6d1a_2d8c_0709_1f1743712d07 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/evaluation/parsing/test_json_distance.py lines 33–38
def test_json_distance_evaluator_parse_json(
json_distance_evaluator: JsonEditDistanceEvaluator,
) -> None:
string = '{"a": 1}'
result = json_distance_evaluator._parse_json(string)
assert result == {"a": 1}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_json_distance_evaluator_parse_json() do?
test_json_distance_evaluator_parse_json() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/evaluation/parsing/test_json_distance.py.
Where is test_json_distance_evaluator_parse_json() defined?
test_json_distance_evaluator_parse_json() is defined in libs/langchain/tests/unit_tests/evaluation/parsing/test_json_distance.py at line 33.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free