axBuildResponderDefinition
function axBuildResponderDefinition(
baseDefinition: string | undefined,
contextFields: readonly AxIField[],
options?: Readonly<{
agentIdentity?: Readonly<{
description: string;
name: string;
}>;
templateOverride?: string;
}>): string;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/agent/rlm.ts#L952
Builds the Responder system prompt. The Responder synthesizes a final answer from the action log produced by the Actor. It NEVER generates code.
Parameters
| Parameter | Type |
|---|---|
baseDefinition | string | undefined |
contextFields | readonly AxIField[] |
options? | Readonly<{ agentIdentity?: Readonly<{ description: string; name: string; }>; templateOverride?: string; }> |
Returns
string