File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ interface SearXNGWeb {
9898 title : string ;
9999 content : string ;
100100 url : string ;
101+ score : number ;
101102 } > ;
102103}
103104
@@ -177,10 +178,11 @@ async function performWebSearch(
177178 title : result . title || "" ,
178179 content : result . content || "" ,
179180 url : result . url || "" ,
181+ score : result . score || 0 ,
180182 } ) ) ;
181183
182184 return results
183- . map ( ( r ) => `Title: ${ r . title } \nDescription: ${ r . content } \nURL: ${ r . url } ` )
185+ . map ( ( r ) => `Title: ${ r . title } \nDescription: ${ r . content } \nURL: ${ r . url } \nRelevance Score: ${ r . score . toFixed ( 3 ) } ` )
184186 . join ( "\n\n" ) ;
185187}
186188
Original file line number Diff line number Diff line change 4040 "postversion" : " node scripts/update-version.js && git add index.ts && git commit --amend --no-edit"
4141 },
4242 "dependencies" : {
43- "@modelcontextprotocol/sdk" : " 1.10.1" ,
4443 "mcp-evals" : " ^1.0.18" ,
45- "@modelcontextprotocol/sdk" : " 1.15.0 " ,
44+ "@modelcontextprotocol/sdk" : " 1.17.2 " ,
4645 "node-html-markdown" : " ^1.3.0"
4746 },
4847 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments