ResponseModel Property  
 

Returns the model name reported by the provider for the most recent response.

Syntax

object.ResponseModel

Remarks

The ResponseModel property returns the model name reported by the provider for the most recent response. This value is taken directly from the response metadata returned by the provider.

The model name returned by this property may differ from the value of the ModelName property used when the request was sent. Some providers may internally map model aliases to different model versions, redirect requests to updated models, or return a more specific model identifier than the one originally requested by the application.

Applications should treat this value as informational. The format and naming conventions used for model identifiers are provider-specific and may change over time. If the provider does not include a model name in the response metadata, this property returns an empty string.

Data Type

String

See Also

DefaultModel Property, ModelFlags Property, ModelName Property, Prompt Property, Response Property, ResponseId Property, SendMessage Method