Interface SignageAIProviderRequest

Body of a request creating or updating a provider row. credentials is required on create; left out of an update the stored value is kept

interface SignageAIProviderRequest {
    allowed_models?: string[];
    credentials?: Record<string, any>;
    default_model?: string;
    enabled?: boolean;
    endpoint?: string;
    is_default?: boolean;
    location?: string;
    name?: string;
    provider?: SignageAIProviderType;
    quotas?: Record<string, number>;
}

Properties

allowed_models?: string[]

Models this row may be asked for

credentials?: Record<string, any>

Vendor credentials, in the shape that vendor expects

default_model?: string

Model used when a request does not name one

enabled?: boolean

Whether the row may be used

endpoint?: string

Vendor endpoint, for deployments that have their own

is_default?: boolean

Whether the row is the default for its domain

location?: string

Vendor region, for deployments that have one

name?: string

Display name for the provider

Vendor the provider talks to

quotas?: Record<string, number>

Per user and per domain image allowances