I am struggling defining the task of a agent : the thoughts sent to the LLM seems to be a very high level summary of the tasks description:
Example
Agent: Email Extractor
Task: Extract the entire emails (including email metadata. body and attachement) about upcoming Dentist appointment :
YOUR ANSWER MUST INCLUDE:
- Email metadata:
- Email from:
- Sender email address:
- Enail Date and Time: Find the EXACT time and date of the email in UTC format
- Subject:
- Email Body:
- Event: what is the event ?
- Event Date: when is the event ? date and time in UTC format
- Address: what is the exact address of the event or organizer ?
- Attendees: who is invited to the event ?
the task sent is very detailed but all details disappear and are not sent to the LLM. As you can see below, the tool input is just “upcoming Dentist appointment” despite all details requested by the agent.
Agent: Email Extractor
Thought: I need to extract emails related to an upcoming dentist appointment, including all specified metadata and body details.
Using tool: Query_Pinecone
Tool Input:
“{"query": "upcoming Dentist appointment"}”
Is there a way to enforce the query not to summarize the task description ?
Am I missing something in my crewai configuration ?