LiteLLM Module

Prev Next

Overview

Module Details

Core or GitHub ModuleCore
Restart Required No
Steps ExposedYes
Step Location AI > LiteLLM
Settings Location Settings > LiteLLM Settings
Prerequisites
  • Base URL of the desired LLM server. 
  • An API key may be required if the LiteLLM requires a virtual key. 
  • The Module must be added as a project dependency.
  • Dependent Module(s): AI Common

The LiteLLM Module enables Users to connect to a self-hosted LiteLLM proxy and access models from 100+ providers through a single configuration. This gives Users one place to manage provider credentials, track spend, and switch models without reconfiguring Decisions.


Configuration/Properties

Installation

  • To set up the Module in Decisions, navigate to Settings > Administration > Features, locate the LiteLLM Module, and select Install. 
    • The AI Common Module will automatically install in the background if this is the first AI Module installed in the environment. 

Creating a Dependency:

  • After installing the module, navigate to the project that will utilize LiteLLM.
    • Then, within the Project, navigate to Manage > Configuration > Dependencies. 
    • Select Manage, navigate to Modules, and select Decisions.AI.LiteLLM.
    • Select Confirm to save the change. 

For more information on installing Modules, please visit Installing Modules in Decisions.

For more information about creating a project dependency for a Module, please visit Adding Modules as a Project Dependency


Available Steps

The table below provides a list of all the steps within the module.

Step NameDescription
Create EmbeddingsThe step allows Users to generate text embeddings.
Get Model ListThis step returns a list of Models from the connected LiteLLM account. (Configured in LiteLLM settings).
Prompt AIThis step enables Users to input Model and AI Prompt information to output a Chat Response.