add retry for structured output
This commit is contained in:
@@ -129,7 +129,7 @@ if __name__ == "__main__":
|
|||||||
shared["target_skills"] = target_skills_to_find
|
shared["target_skills"] = target_skills_to_find
|
||||||
|
|
||||||
# --- Define and Run Flow ---
|
# --- Define and Run Flow ---
|
||||||
parser_node = ResumeParserNode()
|
parser_node = ResumeParserNode(max_retries=3, wait=10)
|
||||||
flow = Flow(start=parser_node)
|
flow = Flow(start=parser_node)
|
||||||
flow.run(shared) # Execute the parsing node
|
flow.run(shared) # Execute the parsing node
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user