babyagi icon indicating copy to clipboard operation
babyagi copied to clipboard

Why is OPENAI_API_KEY still necessary?

Open razvanab opened this issue 1 year ago • 4 comments

Why is OPENAI_API_KEY still necessary if we can use an alternative model like llama?

razvanab avatar May 03 '23 23:05 razvanab

I have similar question like you, Open AI subscriptions are not intended for scientific research. It charges a lot of fees.

crypto-kotha avatar May 04 '23 08:05 crypto-kotha

openai is normally faster and better

yesbroc avatar May 05 '23 11:05 yesbroc

Yeah open source and free is needed to open up this area for everyone.

shiloh92 avatar May 08 '23 06:05 shiloh92

not saying i was against it, just that openai has better models for use, gpt 3.5 is good, fast, and cheap

yesbroc avatar May 08 '23 08:05 yesbroc

OpenAI key is needed for people that use OpenAI models. It's quite possible there is assertion that checks if the env variable is there even if people are using Llama.cpp, I'll look into fixing this. But it only checks if the variable is there, doesn't use it for anything in that case, so workaround is to set it to some dummy value.

francip avatar May 10 '23 00:05 francip

openai.error.AuthenticationError: Incorrect API key provided: v6j0grklw3. You can find your API key at https://platform.openai.com/account/api-keys.

razvanab avatar May 10 '23 13:05 razvanab