AgentRunResponse.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the concatenated text content of all messages in this response.
[System.Text.Json.Serialization.JsonIgnore]
public string Text { get; }
[<System.Text.Json.Serialization.JsonIgnore>]
member this.Text : string
Public ReadOnly Property Text As String
Property Value
A string containing the combined text from all TextContent instances across all messages in Messages, or an empty string if no text content is present.
- Attributes
Remarks
This property provides a convenient way to access the textual response without needing to iterate through individual messages and content items. Non-text content is ignored.