EmbeddedChunk constructor

EmbeddedChunk({
  1. required Chunk chunk,
  2. required List<double> embedding,
})

Creates a new embedded chunk with the specified chunk and embedding.

@param chunk The original text chunk @param embedding The vector embedding representing the chunk's semantic content

Implementation

EmbeddedChunk({required this.chunk, required this.embedding});