Share via


Request Class

Definition

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.

Applies to