Learn how to add logging and evaluations with Galileo to an existing CrewAI application
run() function as your entry point.
If you don’t have a CrewAI application, you can follow the Build your first Crew guide from the CrewAI documentation.
Install Required Dependencies
python-dotenv if you don’t already have this installed.Create a .env file if you don't have one already, and add the following values
.env file, then you need to do so.
.env file.Import the dotenv package
main.py file to import dotenv and load the .env file.CrewAIEventListener.
Import the Galileo CrewAI handler package
main.py file:Create the event listener
run function, create the event listener:Run your crew
View the traces in Galileo
