ResponseContextExtensions.NewItemId(ResponseContext) Method

Definition

Generates a new generic item ID sharing the response's partition key.

public static string NewItemId(this Azure.AI.AgentServer.Responses.ResponseContext context);
static member NewItemId : Azure.AI.AgentServer.Responses.ResponseContext -> string
<Extension()>
Public Function NewItemId (context As ResponseContext) As String

Parameters

context
ResponseContext

The response context.

Returns

A generic item ID in the format item_{partitionKey}{entropy}.

Applies to