Package ai.vectros.types
Class DoneEvent
java.lang.Object
ai.vectros.types.DoneEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getEvent
- Returns:
- Backward-compatible alias of
type. Alwaysdone.
-
getInputTokens
public int getInputTokens()- Returns:
- Total input tokens consumed by the model, including the system prompt and all messages.
-
getOutputTokens
public int getOutputTokens()- Returns:
- Total output tokens generated by the model.
-
getModel
- Returns:
- The model alias used for this call.
-
getPlatformCreditsCharged
public double getPlatformCreditsCharged()- Returns:
- Credits debited from your monthly plan allowance for this call's per-call platform overhead. One credit equals one cent.
-
getInferenceBalanceCentsCharged
public long getInferenceBalanceCentsCharged()- Returns:
- Cents debited from your pre-paid inference balance for the model's token cost.
-
getCacheReadTokens
- Returns:
- Number of input tokens served from the prompt cache. Present only when prompt caching applied to this call. Prompt caching is not yet used; this field is reserved for forward compatibility.
-
getCacheCreateTokens
- Returns:
- Number of tokens written to the prompt cache. Present only when prompt caching applied to this call. Prompt caching is not yet used; this field is reserved for forward compatibility.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-