EmbeddedChunk class
Represents a text chunk with its corresponding vector embedding.
EmbeddedChunk combines a text chunk with its vector representation generated by an embedding model. This is the basic unit used for semantic search and similarity operations in the system.
Constructors
-
EmbeddedChunk.new({required Chunk chunk, required List<
double> embedding}) - Creates a new embedded chunk with the specified chunk and embedding.
Properties
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