VoiceLiveModelFactory.CachedTokenDetails(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.