struct

AI::OpenAI::OpenAIImageInputTokensDetails

Inherits JSON::Serializable < Struct < Value < Object

Token details for image input.

Constructors

new(image_tokens : Int32 | Nil = nil, text_tokens : Int32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

image_tokens
Source
text_tokens
Source