次の方法で共有


BaggageBuilder Class

Definition

Per request baggage builder

public class BaggageBuilder
type BaggageBuilder = class
Public Class BaggageBuilder
Inheritance
BaggageBuilder

Constructors

Name Description
BaggageBuilder()

Methods

Name Description
AgentAuid(String)

Sets the agent AUID baggage value

AgentBlueprintId(String)

Sets the agent blueprint ID baggage value.

AgentDescription(String)

Sets the agent description baggage value.

AgentId(String)

Sets the agent ID baggage value.

AgentName(String)

Sets the agent name baggage value.

AgentUpn(String)

Sets the agent UPN baggage value.

Build()

Applies the collected baggage to the current context.

CallerId(String)

Sets the caller ID baggage value.

CallerName(String)

Sets the caller name baggage value.

CallerUpn(String)

Sets the caller UPN baggage value.

ChannelLink(String)

Sets the channel link baggage value.

ChannelName(String)

Sets the channel name baggage value.

ConversationId(String)

Sets the conversation ID baggage value.

ConversationItemLink(String)

Sets the conversation item link baggage value.

CorrelationId(String)

Sets the correlation ID baggage value.

OperationSource(OperationSource)

Sets the operation source baggage value.

SessionId(String)

Sets the session ID baggage value.

Set(String, String)

Adds a baggage key/value if the value is not null or whitespace.

SetRange(IEnumerable<KeyValuePair<String,Object>>)

Sets multiple baggage values from an enumerable of key-value pairs.

SetRequestContext(String, String, String)

Convenience: begin a request baggage scope with common fields.

TenantId(String)

Sets the tenant ID baggage value.

Extension Methods

Name Description
FromTurnContext(BaggageBuilder, ITurnContext)

Sets the baggage values from TurnContext.

SetCallerBaggage(BaggageBuilder, ITurnContext)

Sets the caller-related baggage values from the TurnContext.

SetConversationIdBaggage(BaggageBuilder, ITurnContext)

Sets the conversation ID and item link baggage values from the TurnContext.

SetExecutionTypeBaggage(BaggageBuilder, ITurnContext)

Sets the execution type baggage value based on caller and recipient agentic status.

SetSourceMetadataBaggage(BaggageBuilder, ITurnContext)

Sets the source metadata baggage values from the TurnContext.

SetTargetAgentBaggage(BaggageBuilder, ITurnContext)

Sets the target agent-related baggage values from the TurnContext.

SetTenantIdBaggage(BaggageBuilder, ITurnContext)

Sets the tenant ID baggage value, extracting from ChannelData if necessary.

Applies to