Summarizes LLM metrics.

success
boolean
required

Indicates if the request was successful.

tokenCount
number
required

The number of tokens in the generated content.

ttftMsec
number
required

The time in milliseconds to produce the first token of generated content.

ttltMsec
number
required

The time in milliseconds to produce the last token of generated content.

typeName
enum<string>
required
Available options:
LLMChunk,
LLMReply
userInput
required

The user input.

wordCount
number
required

The number of words in the generated content.

enOutput
string

The generated content in English, provided by Sutra models when input is not English.

isFinal
boolean

Indicates if this is the final chunk.