GET_RECENT_SALIENCE_DESCRIPTION (core/operations-descriptions.ts)

inbrain · src/core/operations-descriptions.ts · typescript · MIT
ai, tag:knn-classified

* v0.29 — Tool descriptions, extracted to a constants module so that: 1. The exact LLM-facing strings are pinnable in tests (`test/operations-descriptions.test.ts`). 2. Routing changes ship as data, not buried-in-handler edits. 3. The `salience-llm-routing.test.ts` Tier-2 eval ha

// Source: https://github.com/inbrainfun/inbrain | License: MIT | Copyright 2026 Inbrain Contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * v0.29 — Tool descriptions, extracted to a constants module so that:
 *   1. The exact LLM-facing strings are pinnable in tests
 *      (`test/operations-descriptions.test.ts`).
 *   2. Routing changes ship as data, not buried-in-handler edits.
 *   3. The `salience-llm-routing.test.ts` Tier-2 eval has a stable surface
 *      to load tool definitions from.
 *
 * Description style:
 *   - Lead with what the tool does in one short sentence.
 *   - Include explicit triggers ("Use this when the user asks ...") that
 *     the LLM tool-selection prompt can match.
 *   - For redirect hints (query/search → salience), be blunt

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key