Interface SummarizationOptions

Options for text summarization.

interface SummarizationOptions {
    desiredLength?: number | "medium" | "short" | "long";
    method?: string;
    modelId?: string;
    providerId?: string;
    methodOptions?: Record<string, any>;
    maxInputLength?: number;
    language?: string;
}

Properties

desiredLength?: number | "medium" | "short" | "long"
method?: string
modelId?: string
providerId?: string
methodOptions?: Record<string, any>
maxInputLength?: number
language?: string