Load Options

interface LoadOptions {
    executionProviders: ExecutionProviderConfig[];
    externalData: boolean;
    fetch: ((url: string) => Promise<string>);
    max_tokens: number;
    verbose: boolean;
}

Hierarchy (view full)

Properties

executionProviders: ExecutionProviderConfig[]

List of execution providers for ONNX runtime.

externalData: boolean

Indicates if external data is used.

fetch: ((url: string) => Promise<string>)

Function to fetch external data.

max_tokens: number

The maximum number of tokens for text generation.

verbose: boolean

Enables verbose logging.