toggle menu
DICE API Documentation
JVM
switch theme
search in API
DICE API Documentation
/
com.embabel.dice.proposition.extraction
/
ExtractionModelUsage
/
Companion
Companion
object
Companion
Members
Functions
from
Link copied to clipboard
fun
from
(
usage
:
<Error class: unknown class>
)
:
ExtractionModelUsage
The counts a call actually consumed, read off the framework's own Usage.
of
Link copied to clipboard
fun
of
(
inputTokens
:
Int
?
=
null
,
outputTokens
:
Int
?
=
null
,
totalTokens
:
Int
?
=
null
,
cachedInputTokens
:
Int
?
=
null
,
reasoningTokens
:
Int
?
=
null
)
:
ExtractionModelUsage
Java-friendly factory.