Share via


VoiceLiveModelFactory.CachedTokenDetails(Int32, Int32) Method

Definition

Details of output token usage.

public static Azure.AI.VoiceLive.CachedTokenDetails CachedTokenDetails(int textTokens = 0, int audioTokens = 0);
static member CachedTokenDetails : int * int -> Azure.AI.VoiceLive.CachedTokenDetails
Public Shared Function CachedTokenDetails (Optional textTokens As Integer = 0, Optional audioTokens As Integer = 0) As CachedTokenDetails

Parameters

textTokens
Int32

Number of cached text tokens.

audioTokens
Int32

Number of cached audio tokens.

Returns

A new CachedTokenDetails instance for mocking.

Applies to