Skip to content

Python scraper based on AI

Escaped curly braces

João Galegoe818b39557e3
diff --git a/scrapegraphai/nodes/generate_answer_node.py b/scrapegraphai/nodes/generate_answer_node.py
index d50b72db..1df3091e 100644
--- a/scrapegraphai/nodes/generate_answer_node.py
+++ b/scrapegraphai/nodes/generate_answer_node.py
@@ -155,7 +155,7 @@ class GenerateAnswerNode(BaseNode):
format_instructions = (
"You must respond with a JSON object. Your response should be formatted as a valid JSON "
"with a 'content' field containing your analysis. For example:\n"
- '{"content": "your analysis here"}'
+ '{{"content": "your analysis here"}}'
)
else:
output_parser = None