Interface RetrieveFallbackEvent

Emitted when a retrieval fallback strategy is activated.

interface RetrieveFallbackEvent {
    type: "retrieve:fallback";
    strategy: string;
    reason: string;
    timestamp: number;
}

Properties

type: "retrieve:fallback"
strategy: string

Name of the fallback strategy activated (e.g., 'keyword-fallback').

reason: string

Reason the fallback was triggered.

timestamp: number

Timestamp of the event.