openlm
openlm copied to clipboard
Getting error ValueError: OPENAI_API_KEY is not set or passed as an argument
tried with version .5 and .4 on pypi
import openlm as openai
import json
completion = openai.Completion.create(
model="ada",
prompt="Hello world",
)
print(json.dumps(completion, indent=4))
if I use openai instead it runs perfectly fine
import openai as openai