semantic_search
ActiveTool of io.github.lazymac2x/embedding-search
declared in 1.1.0
Rank a list of documents against a query using cosine similarity of bge embeddings. Returns top-k matches with scores.
Parameters schema
{
"type": "object",
"required": [
"query",
"documents"
],
"properties": {
"model": {
"type": "string",
"description": "CF AI model ID override"
},
"query": {
"type": "string",
"description": "Search query"
},
"top_k": {
"type": "integer",
"description": "Number of results (default 5)"
},
"documents": {
"type": "array",
"items": {
"type": "string"
},
"description": "Candidate documents to rank"
}
}
}Parent server
io.github.lazymac2x/embedding-search
https://github.com/lazymac2x/embedding-search-api
1/7 registries