Skip to content

0.14.0

Latest

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 18 Nov 13:16

Included commits: 0.13.1...0.14.0

Improvements

  • The Storefront Assistant answers questions from product attachment documents through the new product_knowledge_search tool (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) and KnowledgeSearchPluginInterface (Client: search).
  • Introduced BedrockKnowledgeBaseKnowledgeStorePlugin and BedrockKnowledgeBaseKnowledgeSearchPlugin, 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:setup fails when a registered source type has none.
  • Introduced background indexing of knowledge documents: the spy_knowledge_document table, the knowledge_document.index queue (KnowledgeDocumentIndexQueueMessageProcessorPlugin) and the KnowledgeDocumentWritePublisherPlugin event publisher.
  • Introduced the console commands knowledge-document:setup, knowledge-document:reindex and knowledge-document:status:refresh.
  • Introduced the extension points KnowledgeDocumentSourcePluginInterface and KnowledgeDocumentScopeResolverPluginInterface, with the product attachment plugins ProductAttachmentKnowledgeDocumentSourcePlugin and ProductAttachmentKnowledgeDocumentScopeResolverPlugin. 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 as abstract_sku). Each scope resolver plugin reads its own reference types.
  • Introduced AiCommerceConfig::getStorefrontAssistantCustomPageContextPromptLines() for project page types in the Storefront Assistant page context.
  • ProductKnowledgeSearchToolPlugin implements the Client ToolPluginInterface of spryker/ai-foundation-extension.
  • Added the dependencies aws/aws-sdk-php, spryker/http, spryker/queue, spryker/publisher-extension, spryker/product-attachment and spryker/product-attachment-storage.