AiMemoryMatch class

A memory search hit.

Constructors

AiMemoryMatch({required AiMemory memory, double? similarity, required double score})
const
AiMemoryMatch.fromJson(Map<String, dynamic> j)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
memory → AiMemory
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score → double
Similarity nudged by importance and recency; results are sorted by it.
final
similarity → double?
Cosine similarity; null when the keyword fallback answered.
final

Methods

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