I copied from the notebook file and pasted the code in my google colab and I get an error message (see after the code) and I can’t figure out what is wrong.
inputs = {
“customer”: “DeepLearningAI”,
“person”: “Andrew Ng”,
“inquiry”: "I need help with setting up a Crew "
"and kicking it off, specifically "
"how can I add memory to my crew? "
“Can you provide guidance?”
}
result = crew.kickoff(inputs=inputs)
Also can you confirm if you download all the files from File===>Open section to run all the codes successfully !!!
Sometimes one would require some modifications in your input as the course provided environment has pre defined self recall input functions where as when you run locally codes this can create issue.
ok chances are the key error customer is because the code mentions customer as DeepLearning.AI but as you are running codes by using your API keys there needs to be changes made to the utils py file. I am tagging the L.T for short course @Mubsi or @lucas.coutinho as Mubsi is on leave for few days and not available.
Hi caebby!
I’ve tested myself using my OpenAI KEY and running in Google Colab and it is working fine
See the screenshot (just ignore, the RateLimitError it’s because of my API key)
Make sure, to copy all steps from the code. I did copy every cell from the notebook into my colab notebook. Also, testing the same in the platform, it is working properly.
running in the platform:
About the KeyError Customer that you’re getting, double check the cells before the inputs, because when we’re defining the tasks: inquiry_resolution and quality_assurance_review, we’ve also referring to this {customer}