generative-ts

Interface HfInferenceApiOptions

interface HfInferenceApiOptions {
    $prompt: string;
    modelId: string;
    options?: {
        use_cache?: boolean;
        wait_for_model?: boolean;
    };
}

Hierarchy (view full)

Properties

$prompt: string
modelId: string
options?: {
    use_cache?: boolean;
    wait_for_model?: boolean;
}

Type declaration

  • Optional use_cache?: boolean
  • Optional wait_for_model?: boolean