Skip to content

makeGroundedAsk

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/techdocs/grounded-ask.ts

Make an AskFn from an LLM completion function. Retrieval is done upstream (the toolset passes the retrieved context); this grounds the prompt, calls the LLM, and returns only validated citations. Refuses (no LLM call) when context is empty.

Signature

ts
function makeGroundedAsk(complete: LlmComplete): AskFn

Parameters

NameType
completeLlmComplete

Returns: AskFn

Was this page helpful?

Download as PDF