optimize intention

This commit is contained in:
team 1
2026-04-14 19:54:42 +02:00
parent 0fead8983e
commit c8d7ecf1f5
4 changed files with 29 additions and 11 deletions

View File

@@ -73,7 +73,7 @@ final class CommerceQueryParser
*/
private function extractPriceRange(string $prompt): array
{
$priceMin = 10;
$priceMin = 0;
$priceMax = null;
if (preg_match('/\bzwischen\s+(\d+(?:[.,]\d+)?)\s+und\s+(\d+(?:[.,]\d+)?)\s+euro\b/u', $prompt, $m) === 1) {