ResponseContextExtensions.NewCodeInterpreterCallItemId Method

Definition

Generates a new code interpreter call item ID sharing the response's partition key.

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

Parameters

context
ResponseContext

The response context.

Returns

A code interpreter call item ID in the format ci_{partitionKey}{entropy}.

Applies to