-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Right now, due to the logic in GenerateAnswerNode (used by SmartScraperGraph), JsonOutputParser is always added when llm_model is an instance of ChatOpenAI. As I am using models that may not always return valid JSON, I prefer to use StrOutputParser to handle the raw llm response content, before trying to parse JSON directly.
I could use JsonOutputParser too if there is way to add/perform error handling for invalid JSON.
dosubot
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested