Closed andywenk closed 1 year ago
looking into the code at https://github.com/griptape-ai/griptape/blob/main/griptape/drivers/prompt/openai_prompt_driver.py#L28 I think it should read api_key
... ?
@andywenk, thanks for reporting this issue! WebScraper
doesn't require openai_api_key
anymore but the docs weren't up to date. Should be all good now.
Hi there,
thanks for creating this. I played around with the examples from https://griptape.readthedocs.io/en/latest/griptape-framework and stumbled over this error in all examples, where
OpenAiPromptDriver
is usedI tried also
api_key
because it is mentioned herehttps://griptape.readthedocs.io/en/latest/griptape-framework/prompt-drivers/openai/
but had no luck.OPENAI_API_KEY
is set.Thanks for your help.
Best
Andy