Request Class
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.
Represents a request to an AI agent with telemetry context.
public sealed class Request : IEquatable<Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Request>
type Request = class
interface IEquatable<Request>
Public NotInheritable Class Request
Implements IEquatable(Of Request)
- Inheritance
-
Request
- Implements
Constructors
| Name | Description |
|---|---|
| Request(InputMessages, String, Channel, String, String) |
Initializes a new instance of the Request class with structured input content. |
| Request(String, String, Channel, String, String) |
Initializes a new instance of the Request class. |
Properties
| Name | Description |
|---|---|
| Channel |
Gets channel information describing the origin of the request. |
| Content |
Gets the textual content of the request. |
| ConversationId |
Gets the conversation or session correlation ID. |
| InputContent |
Gets the structured input messages, when supplied. Takes precedence over Content for telemetry recording. |
| OperationSource |
Gets the source of the operation, when supplied. |
| SessionId |
Gets the session identifier, when supplied. |
Methods
| Name | Description |
|---|---|
| Deconstruct(String, String, Channel, String) |
Deconstructs the request for tuple deconstruction support. |
| Equals(Object) | Determines whether the specified object is equal to the current object. |
| Equals(Request) | Indicates whether the current object is equal to another object of the same type. |
| GetHashCode() | Serves as the default hash function. |