InvokeAgentScope.RecordOutputMessages Method
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.
Overloads
| Name | Description |
|---|---|
| RecordOutputMessages(OutputMessages) |
Records structured output messages for telemetry tracking. |
| RecordOutputMessages(String[]) |
Records the output messages for telemetry tracking. Plain strings are auto-wrapped as OTEL OutputMessage with role "assistant". |
RecordOutputMessages(OutputMessages)
- Source:
- InvokeAgentScope.cs
Records structured output messages for telemetry tracking.
public void RecordOutputMessages(Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Messages.OutputMessages messages);
member this.RecordOutputMessages : Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Messages.OutputMessages -> unit
Public Sub RecordOutputMessages (messages As OutputMessages)
Parameters
- messages
- OutputMessages
The versioned output messages wrapper.
Applies to
RecordOutputMessages(String[])
- Source:
- InvokeAgentScope.cs
Records the output messages for telemetry tracking. Plain strings are auto-wrapped as OTEL OutputMessage with role "assistant".
public void RecordOutputMessages(string[] messages);
member this.RecordOutputMessages : string[] -> unit
Public Sub RecordOutputMessages (messages As String())
Parameters
- messages
- String[]