import { ConfigService } from "@nestjs/config"; import { BaseConfigInterface } from "../../../config/interfaces"; import { LLMService } from "../../../core/llm/services/llm.service"; import { GraphCatalogService } from "../../graph/services/graph.catalog.service"; import { ResponderContextState } from "../contexts/responder.context"; export declare const defaultPlannerPrompt = "\nYou decide which retrieval branches a unified assistant should run for a single user turn.\n\nYou have three branches to choose from (subset, not exclusive):\n- runGraph \u2192 traverses entities (accounts, orders, etc.) the user has access to via tools\n- runContextualiser \u2192 multi-hop document retrieval (chunks, atomic facts, key concepts)\n- runDrift \u2192 community-level summary search\n\nDecide based on the user's question, prior chat history, the available entity catalog, and any content scope.\nYou MUST select at least one branch. Prefer multiple branches in parallel when the question could plausibly draw on more than one.\n\n`seedTitles` lists context sections the host application already guarantees will be present at the answer stage. Plan retrieval for what they do NOT cover \u2014 never pick a branch solely to re-fetch that same context.\n\nRefine the question into a single canonical form that all chosen branches can use.\n\nWhen you produce `refinedQuestion`, preserve every proper-noun-looking span in the user's question verbatim. Do not change \"and\" to \"or\" (or vice versa) inside what could be a name; do not collapse, expand, split, or pluralise names. The graph branch uses `refinedQuestion` as the user's literal phrase to look up records \u2014 paraphrasing breaks the lookup. If you must restructure the question, do so around the names, not over them.\n\nReturn STRICTLY: { runGraph, runContextualiser, runDrift, reasoning, refinedQuestion }.\n"; export declare class PlannerNodeService { private readonly llm; private readonly catalog; private readonly configService; private readonly logger; private readonly systemPrompt; constructor(llm: LLMService, catalog: GraphCatalogService, configService: ConfigService); execute(params: { state: ResponderContextState; }): Promise>; } //# sourceMappingURL=planner.node.service.d.ts.map