Skip to content

Graphorin API reference v0.13.12


Graphorin API reference / @graphorin/reranker-llm / / LlmRerankFailure

Interface: LlmRerankFailure

Defined in: src/reranker.ts:41

Stable

One recorded per-passage scoring failure from the most recent rerank(...) call (deep-retest-0.13.11: lastErrorCount alone said "something failed" but live diagnosis needed the status/stage, which meant re-running billed external calls).

Properties

PropertyModifierTypeDescriptionDefined in
kindreadonly"provider-error" | "off-format"'provider-error' - the generate call rejected (counted in lastErrorCount); 'off-format' - the reply carried no parseable integer and the passage fell back (counted in lastOffFormatCount).src/reranker.ts:49
messagereadonlystringError message, or the (truncated) off-format reply text.src/reranker.ts:55
name?readonlystringError class name for provider errors (e.g. 'ProviderHttpError').src/reranker.ts:51
passageIndexreadonlynumberIndex of the passage in the merged candidate list.src/reranker.ts:43
status?readonlynumberHTTP status when the underlying failure carried one.src/reranker.ts:53