AxChatLogEntry
type AxChatLogEntry = object;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L459
A single chat round-trip entry: the full prompt sent to the model and its response, with normalized roles and inline XML formatting.
Properties
messages
messages: AxChatLogMessage[];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L463
model
model: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L462
modelUsage?
optional modelUsage: AxChatResponse["modelUsage"];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L478
name?
optional name: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L461
Optional composite-program label for the program/node that produced this chat round trip.
providerMetadata?
optional providerMetadata: AxChatResponse["providerMetadata"];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L477
Provider-specific metadata that should flow through adapters.
remoteId?
optional remoteId: AxChatResponse["remoteId"];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L471
Provider response/message/completion identifier.
remoteRequestId?
optional remoteRequestId: AxChatResponse["remoteRequestId"];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L473
Provider request identifier, usually from response headers.
remoteSessionId?
optional remoteSessionId: AxChatResponse["remoteSessionId"];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L475
Provider conversation/session identifier when distinct from Ax’s local sessionId.
sessionId?
optional sessionId: AxChatResponse["sessionId"];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L469
Ax-local session identifier used for conversation tracking and memory isolation.
stage?
optional stage: "ctx" | "task";Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L480
Set by the AxAgent coordinator when running a two-stage ctx+task flow.
textBlocks?
optional textBlocks: AxChatResponseTextBlock & object[];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L465
Response text blocks with per-block citations, scoped to this round trip.