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)
| 88 | |
| 89 | |
| 90 | def _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 |
nothing calls this directly
no outgoing calls
no test coverage detected