The properties of the LlmClient.ModelResponse class are listed below. For a complete list of LlmClient.ModelResponse class members, see the LlmClient.ModelResponse Members topic.
| Content | The response received from the model. |
| ElapsedTime | The elapsed time, in milliseconds, required to process the request and generate the response. |
| Length | The length of the response, specified in characters. Applications should not assume that token counts are identical to character counts. The OutputTokens member reflects the tokenized size of the response as determined by the model or provider. |
| MessageId | The identifier of the originating request message. This value corresponds with the MessageId of the user message which initiated the request. |
| ModelName | The name of the model used to generate the response.The value returned by the provider may differ from the model name specified in the request. |
| OutputTokens | The number of tokens generated by the response. This value may be zero if the model does not include token usage information in its response. |
| ResponseId | A string which specifies a provider-defined identifier for the response. This value is typically unique to the model and provider. Not all models return this value in their response. |
| Role | A LlmClient.LlmMessageRole enumeration which specifies an internal role identifier associated with the message. For responses, this value will typically be Assistant. |
| Status | A LlmClient.LlmResponseStatus enumeration which specifies the status of the response. This can be used to determine if the response was complete or limited in some way. |
| StatusText | A provider-specific status or diagnostic message. This value is not always included in a response. This message is intended for developers and not something that is typically displayed to users. |
| Timestamp | The date and time the response was received. |