AIProjectsModelFactory.RunStepCompletionUsage(Int64, Int64, Int64) 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.
Initializes a new instance of RunStepCompletionUsage.
public static Azure.AI.Projects.RunStepCompletionUsage RunStepCompletionUsage (long completionTokens = 0, long promptTokens = 0, long totalTokens = 0);
static member RunStepCompletionUsage : int64 * int64 * int64 -> Azure.AI.Projects.RunStepCompletionUsage
Public Shared Function RunStepCompletionUsage (Optional completionTokens As Long = 0, Optional promptTokens As Long = 0, Optional totalTokens As Long = 0) As RunStepCompletionUsage
Parameters
- completionTokens
- Int64
Number of completion tokens used over the course of the run step.
- promptTokens
- Int64
Number of prompt tokens used over the course of the run step.
- totalTokens
- Int64
Total number of tokens used (prompt + completion).
Returns
A new RunStepCompletionUsage instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET