Skip to main content

Using LiteLLM with Phoenix Evals#

Info

Requires litellm>=1.0.3

Create an LLM instance with the LiteLLM provider:

LiteLLM supports 100+ providers. Set the appropriate environment variables for your provider before creating the LLM. For provider-specific configuration, see LiteLLM provider params.

Ollama example#

Using with evaluators#