AgentObservation class

A piece of information the agent has gathered from the environment (tool results, user inputs, sensor data, etc.).

Constructors

AgentObservation({required String id, required String content, required String source, double confidence = 1.0, DateTime? timestamp, Map<String, dynamic>? metadata})

Properties

confidence → double
How reliable this observation is (0.0 – 1.0).
final
content → String
Plain-text or JSON-serialised content of the observation.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
metadata → Map<String, dynamic>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
Where the observation came from (tool name, sensor type, user, etc.).
final
timestamp → DateTime
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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