Skip to content

Instantly share code, notes, and snippets.

@joshreini1
Created September 27, 2023 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshreini1/49fb98499e02129aa94ff8d0561b649c to your computer and use it in GitHub Desktop.
Save joshreini1/49fb98499e02129aa94ff8d0561b649c to your computer and use it in GitHub Desktop.
LiteLLM announcement
from trulens_eval import LiteLLM
litellm_provider = LiteLLM(model_engine="gpt-3.5-turbo") # choose any model here!
# Define a relevance function using LiteLLM
relevance = Feedback(litellm_provider.relevance).on_input_output()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment