MaxResponseOutputTokensOption.CreateNumericMaxTokensOption(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.
Creates an options class with a fixed number of tokens.
public static Azure.AI.VoiceLive.MaxResponseOutputTokensOption CreateNumericMaxTokensOption(int maxTokens);
static member CreateNumericMaxTokensOption : int -> Azure.AI.VoiceLive.MaxResponseOutputTokensOption
Public Shared Function CreateNumericMaxTokensOption (maxTokens As Integer) As MaxResponseOutputTokensOption
Parameters
- maxTokens
- Int32