UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

15 lines • 846 B
import type { TreeLlm } from './llm.js'; /** * A deterministic stand-in for the tree LLM — no model, no network — for tests and offline * development. It answers from the structured {@link TreeLlmRequest.task}, never the prose: * * - `navigate` / `select`: ranks candidates by how many of the question's terms their title and * summary share, keeps those sharing any (deepest first on ties in single-pass mode); in a beam, * candidates with subsections are expanded, the rest read; * - `summarize`: the section's first sentence; `describe`: the top-level titles; * - `structure`: lines in ALL CAPS (or markdown headers) become level-1 sections. * * Wrap it to count calls, inject failures or slow replies when testing budgets. */ export declare function keywordTreeLlm(): TreeLlm; //# sourceMappingURL=keyword-tree-llm.d.ts.map