harden code
This commit is contained in:
1 parent
5b100039e0
commit
c099f72703
13 files changed
+397
-59
No files matched your search
@@ -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