dalemorson / llama-2-llama-index-api

An experimental self-hosted instance of Llama 2 for providing cyber security insights and context.
1 stars 1 forks source link

bug: No API key found for OpenAPI #8

Open dalemorson opened 9 months ago

dalemorson commented 9 months ago

When attempting to use indexing at load, the following error appears:

ValueError: No API key found for OpenAI.
Please set either the OPENAI_API_KEY environment variable or openai.api_key prior to initialization.
API keys can be found or created at https://platform.openai.com/account/api-keys
dalemorson commented 9 months ago

https://stackoverflow.com/questions/76771761/why-does-llama-index-still-require-an-openai-key-when-using-hugging-face-local-e