@squidcloud/client
    Preparing search index...

    Interface FileContextRequest

    Request structure for adding file-based context to an AI agent.

    interface FileContextRequest {
        contextId: string;
        extractImages?: boolean;
        extractionModel?: string;
        imageMinSizePixels?: number;
        metadata?: AiContextMetadata;
        options?: AiContextFileOptions;
        type: "file";
    }

    Hierarchy

    • BaseContextRequest
      • FileContextRequest
    Index

    Properties

    contextId: string
    extractImages?: boolean

    Whether to extract images from the file; defaults to false.

    extractionModel?: string

    The AI model to use for extraction, if specified.

    imageMinSizePixels?: number

    The minimum size for extracted images, if applicable.

    General options for how to process the file.

    type: "file"

    Specifies the context type as 'file'.