Summarizes LLM metrics.

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

Indicates if this is the final chunk.

userInput
required

The user input.

success
boolean
required

Indicates if the request was successful.

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.

tokenCount
number
required

The number of tokens in the generated content.

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.