stanford-futuredata / ARES

https://ares-ai.vercel.app/
Apache License 2.0
372 stars 41 forks source link

Unable to import without setting OpenAI key #30

Closed sumitsoman closed 2 months ago

sumitsoman commented 2 months ago

The readme mentions the following:

Optional: Initalize OpenAI or TogetherAI API key with the following command.

However I am not able to import ARES without setting the OpenAI key, this line

from ares import ARES

gives the following error:

openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

Can I use ARES without the OpenAI key? The readme claims it can work with custom RAG models.

robbym-dev commented 2 months ago

Hi @sumitsoman,

The issue you encountered should now be resolved. We have recently made significant updates to ARES, including integrating support for vLLM, which enables users to run models locally. Please refer to the latest version of ARES here and follow the updated instructions in the quick start guide.

Let us know if you encounter any further issues!