patch 17d
This commit is contained in:
@@ -272,6 +272,12 @@ final readonly class NdjsonChunkLookup
|
||||
/**
|
||||
* Allows prompts such as "Testomat CAL" to resolve a document titled
|
||||
* "Testomat 2000 CAL" without also allowing conflicting model numbers.
|
||||
*
|
||||
* This is deliberately limited to titles with at least two non-numeric
|
||||
* anchors and at least one numeric title token. A prompt with its own
|
||||
* numeric token must match one of the title's numeric tokens; otherwise a
|
||||
* user asking for e.g. "Testomat 808 CAL" could incorrectly resolve to
|
||||
* "Testomat 2000 CAL".
|
||||
*/
|
||||
private function isConfidentTitleTokenMatchAllowingMissingNumeric(string $normalizedPrompt, string $normalizedTitle): bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user