mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-12 21:01:56 +08:00
Update output_parser.py
This commit is contained in:
parent
560f079d4c
commit
27ae896cb7
@ -23,8 +23,7 @@ def get_structured_output_parser(schema: Union[Dict[str, Any],
|
||||
return _dict_output_parser
|
||||
|
||||
def get_pydantic_output_parser(schema: Union[Dict[str, Any],
|
||||
Type[BaseModelV1 | BaseModelV2], Type])
|
||||
-> JsonOutputParser:
|
||||
Type[BaseModelV1 | BaseModelV2], Type]) -> JsonOutputParser:
|
||||
"""
|
||||
Get the correct output parser for the LLM model.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user