HumanReviewQueue class abstract

人工审阅队列。框架不拥有 UI,但提供一个抽象让应用层接到自己的审阅平台 (Langfuse Annotation Queue、自建 Web、Slack 工作流等)。

Constructors

HumanReviewQueue()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enqueue({required Trial trial, required Transcript transcript, required Outcome outcome, String? rubric, Map<String, dynamic> metadata = const {}}) Future<void>
将一个 trial 推到队列等待人工审阅。
fetchVerdict(Trial trial) Future<Score?>
拉取已有的人工评分。如果尚未评(或已被丢弃),返回 null。 实现应当是非阻塞的——eval runner 跑完一次后可以立即查队列状态, 没结果就标记为 Score(value: null) + rationale: "pending human review"
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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