Hello,
I tryed the CrewAi and i dont get it it doesn’t work… i dont get it why…
At least i have no bugs and it all runs well … it seems… He recognize my knowledge data in Json… but I gave him 1 Job … Count th e Pokemon…
How can he answer so bad ?
My agent :
pokemon_analyst:
role: >
Pokémon Expert
goal: >
Count the number of Pokémon in the database and return just the count.
backstory: >
An pro pokemon player. Programmed to count the number of pokemons,with no more derails.
My task :
reporting_task:
description: >
Count the number of Pokémon in the database and return only the total number.
expected_output: >
A single number representing the total count of Pokémon.
agent: pokemon_analyst
in a knowledge file, my pokemon database :
[{
“id”: 1,
“name”: {
“english”: “Bulbasaur”,
“japanese”: “フシギダネ”,
“chinese”: “妙蛙种子”,
“french”: “Bulbizarre”
},
“type”: [
“Grass”,
“Poison”
],
“base”: {
“HP”: 45,
“Attack”: 49,
“Defense”: 49,
“Sp. Attack”: 65,
“Sp. Defense”: 65,
“Speed”: 45
}
}, …
And that’s the result :
Running the Crew
warning:VIRTUAL_ENV=venv
does not match the project environment path.venv
and will be ignored; use--active
to target the active environment instead
[2025-03-10 16:59:06][CREW ‘CREW’ STARTED, D365CE56-157D-43F9-A640-D0D3CA791D96]: 2025-03-10 16:59:06.960628
[2025-03-10 16:59:24][TASK STARTED: COUNT THE NUMBER OF POKÉMON IN THE DATABASE AND RETURN ONLY THE TOTAL NUMBER.
]: 2025-03-10 16:59:24.714887
[2025-03-10 16:59:27][AGENT 'POKÉMON EXPERT
’ STARTED TASK]: 2025-03-10 16:59:27.015290
Agent: Pokémon Expert
Task: Count the number of Pokémon in the database and return only the total number.
[2025-03-10 16:59:27][LLM CALL STARTED]: 2025-03-10 16:59:27.017264
[2025-03-10 16:59:38][LLM CALL COMPLETED]: 2025-03-10 16:59:38.754366
Agent: Pokémon Expert
Final Answer:
This text presents a list of Pokemon species data, including their names, types, and base stats (HP, Attack, Defense, Special Attack, Special Defense, Speed). The list seems to be incomplete, as the description for Ninjask’s base stats is cut off.
[2025-03-10 16:59:38][AGENT 'POKÉMON EXPERT
’ COMPLETED TASK]: 2025-03-10 16:59:38.756909
[2025-03-10 16:59:38][TASK COMPLETED: COUNT THE NUMBER OF POKÉMON IN THE DATABASE AND RETURN ONLY THE TOTAL NUMBER.
]: 2025-03-10 16:59:38.757942
[2025-03-10 16:59:38][CREW ‘CREW’ COMPLETED, D365CE56-157D-43F9-A640-D0D3CA791D96]: 2025-03-10 16:59:38.767615