I have a crew
compliance
This has two agents and two tasks respectively
RAG Research (research task) (has rag tools)
Compliance Details Getter (compliance task) (has custom tools)
Now when i ask “What is the meaning of x?”
I want it to go to just the rag agent and get me the response.
But what is happing is it runs both task irrespective of the Process(seq/hierar)
Once it goes to compliance agents either it bring incorrect data or gets stuck in a loop.
I have tried
planning true
creating a manager agent
both does not work.
agent.yaml
complaince_details:
role: >
Compliance Details Getter
goal: >
Answer user message using the tools provided.
backstory: >
research_agent:
role: >
Researcher
goal: >
Use the information retrieved from the vectorstore to answer the question.
backstory: >
manager_agent:
role: >
Manager
goal: >
Chat History:
`{complete_chat_history}`
User query:
`{user_msg}`
### Steps to follow:
STEP 1
Decide wether user question can be answered by the tools available. (YES/NO)
STEP 2
If YES
ONLY use Compliance Details Getter (task: get_compliance_details) to get the answer and return the response
If NO
ONLY use Researcher (task: research_task) to get the answer and return the response
STEP 3
Verify the answer if it is relevent and correct to the question.
backstory: >