Openai api key

I’ve wasted some much time with the issue of openai api key, despite making different accounts with them, only to be told “suspicious activity”!!

Is there an alternative to this messy part of your program, openai dependency, otherwise there is not point of carrying on with course.

By the way, I’ve tried successfully, to run crewai locally, using Ollama and gemini!

Hey @notsodeeplearner1. I’m not sure what issue with the openai api key you had, did you post it here before? If you run out of tokens, the quota should be renewed by now, since its a new month.
Also, I don’t really see why you would have needed so many accounts for the api keys. You can safely run all labs definitely more than twice on the allocated resources, so even with the free credit from one account, you should be ok.

@magdalena.bouza

I think @notsodeeplearner1 is talking about running codes locally with openai api keys.

@notsodeeplearner1 if you know openai, actually mentions to not use the api keys instance to instantaneously as that cause rate limit error, usually when someone encounters such error with their own openai api keys, they are advised to use it or try after 2-3 days if they haven’t used there assigned usuage of api keys.

Running codes locally is not related to course you are doing on platform as you are using your own api keys. and courses now provide the requirements.txt.file that provides the dependencies module version a learner would need to run codes locally.

Regards

DP

Ah thanks for the clarification @Deepti_Prasad.
@notsodeeplearner1 if this is the case, make sure you change the base_url argument by setting os.environ["OPENAI_API_BASE"]="https://api.openai.com/v1"

1 Like