Lines Matching refs:chunk
30 /** @var float minimum similarity to consider a chunk a match */
54 $record['chunk'],
87 foreach ($chunks as $chunk) {
89 'page' => $chunk->getPage(),
90 'id' => $chunk->getId(),
91 'chunk' => $chunk->getText(),
92 'embedding' => json_encode($chunk->getEmbedding(), JSON_THROW_ON_ERROR),
93 'created' => $chunk->getCreated(),
94 'lang' => $chunk->getLanguage(),
129 $record['chunk'],
162 $record['chunk'],
214 * @param float[] $embedding The normalized vector of the chunk