LLM-based Evaluators ask for an API key when run with local LLMs #8818
Labels
P2
Medium priority, add to the next sprint if no P1 available
type:bug
Something isn't working
type:documentation
Improvements on the docs
Describe the bug
When I run the llm-based evaluators with local llms, I get an error saying that OPENAI API key is missing even though no key is needed.
Error message
... None of the following authentication environment variables are set: ('OPENAI_API_KEY',)
Expected behavior
api_key
param should be optional maybe?It works when I initialize the evaluator like this:
or like this:
To Reproduce
Run the code below. It's taken from the docs
FAQ Check
System:
The text was updated successfully, but these errors were encountered: