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