axBuildResponderDefinition
function axBuildResponderDefinition(
baseDefinition: undefined | string,
contextFields: readonly AxIField[],
options?: Readonly<{
agentIdentity?: Readonly<{
description: string;
name: string;
}>;
templateOverride?: string;
}>): string;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/agent/rlm.ts#L901
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 | undefined | string |
contextFields | readonly AxIField[] |
options? | Readonly<{ agentIdentity?: Readonly<{ description: string; name: string; }>; templateOverride?: string; }> |
Returns
string