EmbeddingRunResult class

Constructors

EmbeddingRunResult({required List<KnowledgeDocument> documents, required EmbeddingConfig config, required int embeddedCount})
const

Properties

config EmbeddingConfig
EmbeddingConfig (model, dimensions, batchSize) suitable for recording at the KnowledgeSource / KnowledgeSection level.
final
documents List<KnowledgeDocument>
Documents with metadata['embedding'] = List<double> attached.
final
embeddedCount int
Count of documents that received an embedding (skipped on empty content — those keep their original metadata).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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