optimize msh layouts
This commit is contained in:
@@ -48,6 +48,18 @@ final class ShopSearchService
|
||||
return $this->lastSearchFailureReason;
|
||||
}
|
||||
|
||||
public function buildSearchQueryPreview(
|
||||
string $originalPrompt,
|
||||
string $commerceIntent,
|
||||
string $commerceHistoryContext = ''
|
||||
): CommerceSearchQuery {
|
||||
return $this->queryParser->parse(
|
||||
$originalPrompt,
|
||||
$commerceIntent,
|
||||
$commerceHistoryContext
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ShopProductResult[]
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user