MultiQuery: {
    query: string;
    weight: number;
}

MultiQuery allows you to construct a dense vector from multiple queries with a weighted sum. This is useful for when you want to emphasize certain features of the query. This only works with Semantic Search and is not compatible with cross encoder re-ranking or highlights.

Type declaration

  • query: string

    Query to embed for the final weighted sum vector.

  • weight: number

    Float value which is applies as a multiplier to the query vector when summing.