Type Alias SearchRequest

type SearchRequest = {
    prompt: string;
    searchMode?: "SIMPLE" | "FULL";
    topN?: number;
}
Index

Properties

prompt: string

Query text or question to search.

searchMode?: "SIMPLE" | "FULL"

Search mode to use. Allowed values: SIMPLE and FULL. Default: SIMPLE.

topN?: number

Number of chunks to return in results.