Member Junction
    Preparing search index...

    Type Alias DecisionRerankOptions

    Settings a caller can give one DecisionReranker rerank, in RerankParams.options. Other rerankers ignore them. RerankerService fills them from the agent's RerankerConfiguration. A setting that is not a positive number is ignored, and its default applies.

    A type rather than an interface, so that it is assignable to RerankParams.options.

    type DecisionRerankOptions = {
        MaxDocumentsPerCall?: number;
        TimeoutMS?: number;
    }
    Index

    Properties

    MaxDocumentsPerCall?: number

    The most documents one decision call carries, when no model the decision prompt can run on declares Decision.MaxQuestionsPerCall (a declared limit always wins, because a call over it fails). A fraction is rounded down. Default: DEFAULT_DECISION_RERANK_DOCUMENTS_PER_CALL.

    TimeoutMS?: number

    The time budget for the rerank's decision calls, all together, in milliseconds. When it runs out the calls are aborted and the rerank fails. Default: DEFAULT_DECISION_RERANK_TIMEOUT_MS.