UsageDetails Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. UsageDetails
- com.
Implements
public final class UsageDetails
implements JsonSerializable<UsageDetails>
Usage details.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Usage |
fromJson(JsonReader jsonReader)
Reads an instance of Usage |
| Double |
getAudioHours()
Get the audio |
| Integer |
getContextualizationTokens()
Get the contextualization |
| Integer |
getDocumentPagesBasic()
Get the document |
| Integer |
getDocumentPagesMinimal()
Get the document |
| Integer |
getDocumentPagesStandard()
Get the document |
| Map<String,Integer> |
getTokens()
Get the tokens property: The number of LLM and embedding tokens consumed, grouped by model (ex. |
| Double |
getVideoHours()
Get the video |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static UsageDetails fromJson(JsonReader jsonReader)
Reads an instance of UsageDetails from the JsonReader.
Parameters:
Returns:
Throws:
getAudioHours
public Double getAudioHours()
Get the audioHours property: The hours of audio processed.
Returns:
getContextualizationTokens
public Integer getContextualizationTokens()
Get the contextualizationTokens property: The number of contextualization tokens consumed for preparing context, generating confidence scores, source grounding, and output formatting.
Returns:
getDocumentPagesBasic
public Integer getDocumentPagesBasic()
Get the documentPagesBasic property: The number of document pages processed at the basic level. For documents without explicit pages (ex. txt, html), every 3000 UTF-16 characters is counted as one page.
Returns:
getDocumentPagesMinimal
public Integer getDocumentPagesMinimal()
Get the documentPagesMinimal property: The number of document pages processed at the minimal level. For documents without explicit pages (ex. txt, html), every 3000 UTF-16 characters is counted as one page.
Returns:
getDocumentPagesStandard
public Integer getDocumentPagesStandard()
Get the documentPagesStandard property: The number of document pages processed at the standard level. For documents without explicit pages (ex. txt, html), every 3000 UTF-16 characters is counted as one page.
Returns:
getTokens
public Map<String,Integer> getTokens()
Get the tokens property: The number of LLM and embedding tokens consumed, grouped by model (ex. GTP 4.1) and type (ex. input, cached input, output).
Returns:
getVideoHours
public Double getVideoHours()
Get the videoHours property: The hours of video processed.
Returns: