Semantic search for articles
semantic_search_articlesSemantic search over article title + full text, including articles whose OCR is not public. Query in any language. Runs the corpus model, EmbeddingGemma 2, locally with no API key (first use downloads ~350 MB). similarity_score only ranks within one query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "semantic_search_articles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 10, max 50 | |
| query | Yes | Natural-language query, any language | |
| country | No | Exact country name: Benin | Burkina Faso | Côte d'Ivoire | Niger | Togo (accents optional) | |
| date_to | No | YYYY-MM-DD (or YYYY) | |
| date_from | No | YYYY-MM-DD (or YYYY) | |
| newspaper | No |