Iron Gorilla Developers

LlmResponse

Response shape returned by `kernel.callLLM()`.

SDK v2026.4.0

Kind: interface

Signature

Example
export interface LlmResponse

Properties

  • text (string): Primary text response from the model.
  • json? (unknown): Optional structured response payload when the provider returned JSON.
  • model (string): Model identifier that produced the response.
  • promptTokens (number): Prompt token count reported by the provider.
  • completionTokens (number): Completion token count reported by the provider.

On this page