reranking
parameter enables enhanced search result reranking using advanced AI models. It’s disabled by default (false
) and incurs additional costs when enabled.
reranking: false
, default): Uses a simpler, faster model with no additional costreranking: true
): Uses state-of-the-art models for highest quality results at $1 per 1K operationssemanticWeight
parameter controls the balance between semantic search and full-text search in the hybrid search process. It accepts values from 0 to 1, with a default of 0.75 (75% semantic, 25% full-text).
inputEnrichment
parameter controls whether queries are enhanced using AI before searching. It’s enabled by default (true
) and significantly improves search quality at the cost of some additional latency.
filter
parameter allows you to restrict search results based on content criteria. It accepts either a string expression (SQL-like syntax) or a structured filter object (TypeScript SDK only).