Repository navigation
Included commits: 0.13.1...0.14.0
Improvements
- The Storefront Assistant answers questions from product attachment documents through the new
product_knowledge_searchtool (ProductKnowledgeSearchToolPlugin). The tool searches only the attachments of the products that the question or the page names. - Introduced the knowledge store extension points
KnowledgeStorePluginInterface(Zed: setup, index, delete, status) andKnowledgeSearchPluginInterface(Client: search). - Introduced
BedrockKnowledgeBaseKnowledgeStorePluginandBedrockKnowledgeBaseKnowledgeSearchPlugin, which store and search the documents in an Amazon Bedrock knowledge base with managed reranking. - Introduced
AiCommerceConstants::BEDROCK_KNOWLEDGE_BASE_DATA_SOURCE_IDS: the custom data source of the knowledge base for each knowledge document source type. Several source types can use one data source;knowledge-document:setupfails when a registered source type has none. - Introduced background indexing of knowledge documents: the
spy_knowledge_documenttable, theknowledge_document.indexqueue (KnowledgeDocumentIndexQueueMessageProcessorPlugin) and theKnowledgeDocumentWritePublisherPluginevent publisher. - Introduced the console commands
knowledge-document:setup,knowledge-document:reindexandknowledge-document:status:refresh. - Introduced the extension points
KnowledgeDocumentSourcePluginInterfaceandKnowledgeDocumentScopeResolverPluginInterface, with the product attachment pluginsProductAttachmentKnowledgeDocumentSourcePluginandProductAttachmentKnowledgeDocumentScopeResolverPlugin. A project adds a document source with these two plugins and one data source configuration entry. - Introduced generic search scope references (
KnowledgeDocumentScopeRequestTransfer.scopeReferences, keyed by reference type such asabstract_sku). Each scope resolver plugin reads its own reference types. - Introduced
AiCommerceConfig::getStorefrontAssistantCustomPageContextPromptLines()for project page types in the Storefront Assistant page context. ProductKnowledgeSearchToolPluginimplements the ClientToolPluginInterfaceofspryker/ai-foundation-extension.- Added the dependencies
aws/aws-sdk-php,spryker/http,spryker/queue,spryker/publisher-extension,spryker/product-attachmentandspryker/product-attachment-storage.