Skip to content

Commit 254129c

Browse files
leftzzzzhuang letian
authored andcommitted
fix: fix query flow knowledge base error
1 parent cd687ca commit 254129c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

backend/magic-service/config/autoload/dependencies.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@
9191
use App\Domain\Flow\Repository\Persistence\MagicFlowWaitMessageRepository;
9292
use App\Domain\Group\Repository\Facade\MagicGroupRepositoryInterface;
9393
use App\Domain\Group\Repository\Persistence\MagicGroupRepository;
94+
use App\Domain\KnowledgeBase\Entity\ValueObject\DocumentFile\ExternalDocumentFile;
9495
use App\Domain\KnowledgeBase\Entity\ValueObject\DocumentFile\Interfaces\ExternalDocumentFileInterface;
9596
use App\Domain\KnowledgeBase\Entity\ValueObject\DocumentFile\Interfaces\ThirdPlatformDocumentFileInterface;
97+
use App\Domain\KnowledgeBase\Entity\ValueObject\DocumentFile\ThirdPlatformDocumentFile;
9698
use App\Domain\KnowledgeBase\Repository\Facade\KnowledgeBaseDocumentRepositoryInterface;
9799
use App\Domain\KnowledgeBase\Repository\Facade\KnowledgeBaseFragmentRepositoryInterface;
98100
use App\Domain\KnowledgeBase\Repository\Facade\KnowledgeBaseRepositoryInterface;
@@ -320,8 +322,8 @@
320322
KnowledgeBaseStrategyInterface::class => BaseKnowledgeBaseStrategy::class,
321323
ExternalFileDocumentFileStrategyInterface::class => ExternalFileDocumentFileStrategyDriver::class,
322324
ThirdPlatformDocumentFileStrategyInterface::class => ThirdPlatformDocumentFileStrategyDriver::class,
323-
ExternalDocumentFileInterface::class => ExternalDocumentFileInterface::class,
324-
ThirdPlatformDocumentFileInterface::class => ThirdPlatformDocumentFileInterface::class,
325+
ExternalDocumentFileInterface::class => ExternalDocumentFile::class,
326+
ThirdPlatformDocumentFileInterface::class => ThirdPlatformDocumentFile::class,
325327

326328
// admin
327329
AdminGlobalSettingsRepositoryInterface::class => AdminGlobalSettingsRepository::class,

0 commit comments

Comments
 (0)