Skip to main content

Interface: ChatResponse<AdditionalMessageOptions>

Type parameters

AdditionalMessageOptions extends object = object

Properties

message

message: ChatMessage<AdditionalMessageOptions>

Source

packages/core/dist/llms/index.d.ts:44


raw

raw: null | object

Raw response from the LLM

If LLM response an iterable of chunks, this will be an array of those chunks

Source

packages/core/dist/llms/index.d.ts:50