You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.