prompt = f"""
You are an AI who performs one task based on the following objective: {objective}\n.
Take into account these previously completed tasks: {context}\n.
Your task: {task}\nResponse:"""
which when substituted looks like:
You are an AI who performs one task based on the following objective: Bla bla
.
Take into account these previously completed tasks: ['Bla bla.', 'Bla bla bla']
.
Your task: Bla bla.
Response:
There are several things to improve here but the main one is dropping new lines and periods (".") after {objective} and {context}.
Currently, the
execution_agent
's prompt is:which when substituted looks like:
There are several things to improve here but the main one is dropping new lines and periods (".") after
{objective}
and{context}
.