diff --git a/examples/data_interpreter_mulit-agent/di_agents.py b/examples/data_interpreter_mulit-agent/di_agents.py index 96f30b63f..7b9678e5a 100644 --- a/examples/data_interpreter_mulit-agent/di_agents.py +++ b/examples/data_interpreter_mulit-agent/di_agents.py @@ -198,7 +198,7 @@ def __init__( max_iters=max_iters, verbose=verbose, ) - + # Overwrite the parser attribute with the custom format_instruction to reinforce the output adhere to json format. self.parser = RegexTaggedContentParser( format_instruction="""Respond with specific tags as outlined below in json format: diff --git a/examples/data_interpreter_mulit-agent/di_multiagent.py b/examples/data_interpreter_mulit-agent/di_multiagent.py index 784b667dd..cb6f20a0c 100644 --- a/examples/data_interpreter_mulit-agent/di_multiagent.py +++ b/examples/data_interpreter_mulit-agent/di_multiagent.py @@ -391,15 +391,15 @@ def init_agents() -> None: # Overwrite the parser attribute with the custom format_instruction to reinforce the output adhere to json format. solver_agent.parser = RegexTaggedContentParser( - format_instruction="""Respond with specific tags as outlined below in json format: + format_instruction="""Respond with specific tags as outlined below in json format: {what you thought} {the function name you want to call} <{argument name}>{argument value} <{argument name}>{argument value} ...""", # noqa - try_parse_json=True, - required_keys=["thought", "function"], - ) + try_parse_json=True, + required_keys=["thought", "function"], + ) verifier_agent = VerifierAgent( name="verifier",