org.llm4s.llmconnect.model.EmbeddingUsage
See theEmbeddingUsage companion object
@Stable
Token usage statistics for an embedding request.
Value parameters
- promptTokens
-
Number of tokens in the input text(s).
- totalTokens
-
Total tokens used (same as promptTokens for embeddings). Build one with EmbeddingUsage.apply and change it with the
with*setters; the constructor andcopyare private, so a new field never breaks callers.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article