LLMRerankerOptions
Properties
Section titled “Properties”candidateMaxChars?
Section titled “candidateMaxChars?”optional candidateMaxChars?: number;Maximum characters of document text to include per candidate. Default: 1500.
includeReasons?
Section titled “includeReasons?”optional includeReasons?: boolean;Whether to include the LLM’s reasoning in results. Default: true.
model: LanguageModel;The language model to use for scoring.
optional topK?: number;Maximum number of results to return after reranking. Default: 5.