MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / _dict_output_parser

Function _dict_output_parser

scrapegraphai/utils/output_parser.py:90–100  ·  view source on GitHub ↗

Parse the output of an LLM when the schema is TypedDict or JsonSchema. Args: x (dict): The output from the LLM model. Returns: dict: The parsed output.

(x: dict)

Source from the content-addressed store, hash-verified

88
89
90def _dict_output_parser(x: dict) -> dict:
91 """
92 Parse the output of an LLM when the schema is TypedDict or JsonSchema.
93
94 Args:
95 x (dict): The output from the LLM model.
96
97 Returns:
98 dict: The parsed output.
99 """
100 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected