ChunksReranked class final

A re-ranking step ran.

Inheritance

Constructors

ChunksReranked({required String id, required DateTime timestamp, required String reranker, required int before, required int after, required Duration duration, int promoted = 0, bool fellBack = false, String? runId, String? source, String? traceId, String? spanId})
Creates the event.
const

Properties

after → int
How many it kept.
final
before → int
How many candidates it was given.
final
duration → Duration
How long re-ranking took.
final
fellBack → bool
Whether the re-ranker failed and the retriever's ordering was kept.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique, sortable identifier for this event.
finalinherited
How many kept passages were not in the retriever's own top after.
final
reranker → String
Which re-ranker ran.
final
runId → String?
Identifier of the run this event belongs to.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
Component that published the event, such as agent:researcher.
finalinherited
spanId → String?
Span this event was emitted within, when tracing is active.
finalinherited
timestamp → DateTime
When the event occurred, in UTC.
finalinherited
traceId → String?
Trace this event was emitted within, when tracing is active.
finalinherited
type → String
Stable, dotted type name, such as llm.response.completed.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payload() → JsonMap
Event-specific payload, excluding the envelope fields.
toJson() → JsonMap
Serialises the complete event, envelope included.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited