langchain.js
    Preparing search index...

    Interface XAIResponsesFileSearchResult

    File search result item.

    interface XAIResponsesFileSearchResult {
        file_id: string;
        filename?: string;
        score?: number;
        text?: string;
    }
    Index

    Properties

    file_id: string

    The file ID.

    filename?: string

    The filename.

    score?: number

    The score/relevance of the result.

    text?: string

    The matched text content.