Skip to content

Commit 830891c

Browse files
authored
[eval only] Variant B: remove the motivation for OR
1 parent 0dd7a27 commit 830891c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/github/__toolsnaps__/search_issues.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"type": "number"
3232
},
3333
"query": {
34-
"description": "The search query. Write it as natural language. Avoid boolean OR operators, which fall back to lexical search.",
34+
"description": "The search query, as natural language describing the problem. Semantic matching already finds related wording, so synonyms don't need listing or joining with OR.",
3535
"type": "string"
3636
},
3737
"repo": {

pkg/github/__toolsnaps__/search_issues_ff_fields_param.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"type": "number"
6565
},
6666
"query": {
67-
"description": "The search query. Write it as natural language. Avoid boolean OR operators, which fall back to lexical search.",
67+
"description": "The search query, as natural language describing the problem. Semantic matching already finds related wording, so synonyms don't need listing or joining with OR.",
6868
"type": "string"
6969
},
7070
"repo": {

pkg/github/issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ func searchIssuesTool(t translations.TranslationHelperFunc, includeFields bool)
16281628
Properties: map[string]*jsonschema.Schema{
16291629
"query": {
16301630
Type: "string",
1631-
Description: "The search query. Write it as natural language. Avoid boolean OR operators, which fall back to lexical search.",
1631+
Description: "The search query, as natural language describing the problem. Semantic matching already finds related wording, so synonyms don't need listing or joining with OR.",
16321632
},
16331633
"owner": {
16341634
Type: "string",

0 commit comments

Comments
 (0)