Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 8.04 KB

File metadata and controls

30 lines (25 loc) · 8.04 KB

CustomIntegration

Example Usage

import { CustomIntegration } from "galileo-generated/models";

let value: CustomIntegration = {
  models: [
    "<value 1>",
  ],
  endpoint: "<value>",
  name: "custom",
};

Fields

Field Type Required Description
authenticationType models.CustomAuthenticationType N/A
models string[] ✔️ List of model names for the custom integration
defaultModel string Default model to use. If not provided, defaults to the first model in the models list.
endpoint string ✔️ Endpoint URL for the custom integration.
authenticationScope string Optional scope for OAuth2 authentication.
oauth2TokenUrl string OAuth2 token URL for custom OAuth2 authentication. If not provided, defaults to the endpoint.
customLlmConfig models.CustomLLMConfig Optional configuration for a custom LiteLLM handler class. When specified, the handler's acompletion() method is used instead of the default litellm.acompletion().
id string N/A
name "custom" ✔️ N/A
extra Record<string, any> N/A