Cell API
    Preparing search index...

    Interface PromptFilterMetadata<T>

    Abstract Data Type (ADT) modeling filter metadata for all prompts sent during an AI request.

    interface PromptFilterMetadata<T = any> {
        contentFilterMetadata: T;
        promptIndex: number;
    }

    Type Parameters

    • T = any
    Index
    contentFilterMetadata: T

    Returns the underlying AI provider metadata for filtering applied to prompt content.

    Class Type used to cast the filtered content metadata into the AI provider-specific type.

    the underlying AI provider metadata for filtering applied to prompt content.

    promptIndex: number

    Index of the prompt filter metadata contained in the AI response.