Uses of Record Class
ai.octoryn.sdk.Usage
-
Uses of Usage in ai.octoryn.sdk
Methods in ai.octoryn.sdk that return UsageModifier and TypeMethodDescriptionStreamEvent.usage()Returns the value of theusagerecord component.TextResult.usage()Returns the value of theusagerecord component.Constructors in ai.octoryn.sdk with parameters of type UsageModifierConstructorDescriptionStreamEvent(String type, String text, ToolCall toolCall, Usage usage, String finishReason, GovernanceMetadata octoryn, com.fasterxml.jackson.databind.JsonNode providerEvent, Throwable error) Creates an instance of aStreamEventrecord class.TextResult(String text, List<ToolCall> toolCalls, String finishReason, Usage usage, GovernanceMetadata octoryn, com.fasterxml.jackson.databind.JsonNode response) Creates an instance of aTextResultrecord class.