Member Junction
    Preparing search index...

    Result from query similarity matching

    interface QueryMatchResult {
        category: string;
        description: string;
        queryId: string;
        queryName: string;
        reusable: boolean;
        similarityScore: number;
        sql?: string;
        status: string;
        userQuestion?: string;
    }
    Index

    Properties

    category: string

    The query's category name

    description: string

    The query's description

    queryId: string

    The query's unique ID

    queryName: string

    The query's name

    reusable: boolean

    Whether the query is marked as reusable for composition

    similarityScore: number

    Cosine similarity score (0-1, where 1 = perfect match)

    sql?: string

    The query's SQL (only populated when requested)

    status: string

    Query status (Approved, Pending, etc.)

    userQuestion?: string

    The natural language question this query answers