harden code
This commit is contained in:
@@ -28,16 +28,12 @@ final readonly class IngestFlow
|
||||
): void
|
||||
{
|
||||
$this->metaManager->validateAgainstCurrent();
|
||||
|
||||
$this->chunkManager->compactByDocument(
|
||||
$version->getDocument()->getId()
|
||||
);
|
||||
|
||||
$records = $this->knowledgeIngestService
|
||||
->buildChunkRecords($version);
|
||||
|
||||
$this->chunkManager->appendChunks($records);
|
||||
|
||||
$this->vectorBuilder->rebuildFromNdjson();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user