patch 8
This commit is contained in:
@@ -645,12 +645,33 @@ final readonly class RetriexEffectiveConfigProvider
|
||||
'commerce' => [
|
||||
'strong_signals' => $this->commerceIntentConfig->getStrongSignalsList(),
|
||||
'advisory_signals' => $this->commerceIntentConfig->getAdvisorySignals(),
|
||||
'advisory_product_selection_patterns' => $this->commerceIntentConfig->getAdvisoryProductSelectionPatterns(),
|
||||
'price_terms' => $this->commerceIntentConfig->getPriceTerms(),
|
||||
'color_terms' => $this->commerceIntentConfig->getColorTerms(),
|
||||
'size_token_terms' => $this->commerceIntentConfig->getSizeTokenTerms(),
|
||||
'size_terms' => $this->commerceIntentConfig->getSizeTerms(),
|
||||
'support_diagnostic_patterns' => $this->commerceIntentConfig->getSupportDiagnosticPatterns(),
|
||||
'explicit_commerce_intent_patterns' => $this->commerceIntentConfig->getExplicitCommerceIntentPatterns(),
|
||||
'patterns' => [
|
||||
'sku_like' => $this->commerceIntentConfig->getSkuLikePattern(),
|
||||
'price_value' => $this->commerceIntentConfig->getPriceValuePattern(),
|
||||
'size_extraction' => $this->commerceIntentConfig->getSizeExtractionPattern(),
|
||||
'size_value' => $this->commerceIntentConfig->getSizeValuePattern(),
|
||||
'size_token_value' => $this->commerceIntentConfig->getSizeTokenValuePattern(),
|
||||
'color_value' => $this->commerceIntentConfig->getColorValuePattern(),
|
||||
'model_like_product' => $this->commerceIntentConfig->getModelLikeProductPattern(),
|
||||
],
|
||||
'labels' => [
|
||||
'support_or_diagnostic_signal' => $this->commerceIntentConfig->getSupportOrDiagnosticSignalLabel(),
|
||||
'sku_signal' => $this->commerceIntentConfig->getSkuSignalLabel(),
|
||||
'price_signal' => $this->commerceIntentConfig->getPriceSignalLabel(),
|
||||
'size_signal' => $this->commerceIntentConfig->getSizeSignalLabel(),
|
||||
'size_token_signal' => $this->commerceIntentConfig->getSizeTokenSignalLabel(),
|
||||
'color_signal' => $this->commerceIntentConfig->getColorSignalLabel(),
|
||||
'advisory_signal_prefix' => $this->commerceIntentConfig->getAdvisorySignalPrefix(),
|
||||
'advisory_product_selection_signal' => $this->commerceIntentConfig->getAdvisoryProductSelectionSignalLabel(),
|
||||
'model_like_product_signal' => $this->commerceIntentConfig->getModelLikeProductSignalLabel(),
|
||||
],
|
||||
'thresholds' => [
|
||||
'product_search_min_score' => $this->commerceIntentConfig->getProductSearchMinScore(),
|
||||
'advisory_product_search_min_score' => $this->commerceIntentConfig->getAdvisoryProductSearchMinScore(),
|
||||
@@ -661,6 +682,7 @@ final readonly class RetriexEffectiveConfigProvider
|
||||
'size_token_signal_score' => $this->commerceIntentConfig->getSizeTokenSignalScore(),
|
||||
'color_signal_score' => $this->commerceIntentConfig->getColorSignalScore(),
|
||||
'advisory_signal_score' => $this->commerceIntentConfig->getAdvisorySignalScore(),
|
||||
'advisory_product_selection_signal_score' => $this->commerceIntentConfig->getAdvisoryProductSelectionSignalScore(),
|
||||
'model_like_product_signal_score' => $this->commerceIntentConfig->getModelLikeProductSignalScore(),
|
||||
],
|
||||
],
|
||||
@@ -681,7 +703,6 @@ final readonly class RetriexEffectiveConfigProvider
|
||||
];
|
||||
}
|
||||
|
||||
/** @return array<string, mixed> */
|
||||
private function languageConfig(): array
|
||||
{
|
||||
return ['stopwords' => $this->stopWordsConfig->getStopWords()];
|
||||
|
||||
Reference in New Issue
Block a user