haematite-cli 0.21.9

The haematite command: serve a store, its door and Studio, answer MCP, query with jq, and host the store's assistant seat
Documentation
{
  "group": "Reranking",
  "entries": [
    {
      "name": "Reranked records",
      "sentence": "Reorder a bounded set of similar records by another vector field and replace their scores.",
      "query": "collection(${collection}) | similar(.${search_field}; record(${record}); ${measure}) | limit(${candidates}) | rerank(.${rerank_field}; record(${record}); ${measure}) | limit(${limit})",
      "change": "Choose quoted ${collection} and ${record}, vector fields ${search_field} and ${rerank_field}, ${measure}, the candidate bound ${candidates} and final bound ${limit}.",
      "defaults": {
        "collection": "\"patients\"",
        "search_field": "embedding",
        "rerank_field": "embedding",
        "record": "\"p0\"",
        "measure": "dot",
        "candidates": "20",
        "limit": "2"
      }
    }
  ]
}