The GradientLLMParams interface defines the input parameters for the GradientLLM class.

Hierarchy

Properties

adapterId?: string

Gradient Adapter ID for custom fine tuned models.

gradientAccessKey?: string

Gradient AI Access Token. Provide Access Token if you do not wish to automatically pull from env.

inferenceParameters?: Record<string, unknown>

Parameters accepted by the Gradient npm package.

modelSlug?: string

Gradient AI Model Slug.

workspaceId?: string

Gradient Workspace Id. Provide workspace id if you do not wish to automatically pull from env.

Generated using TypeDoc