Class: Braintrust::Models::ChatCompletionContentPartImage::ImageURL

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/chat_completion_content_part_image.rb

Defined Under Namespace

Classes: Detail

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #initialize, #inspect, #to_h, #to_s

Constructor Details

This class inherits a constructor from Braintrust::BaseModel

Instance Attribute Details

#detailSymbol

One of the constants defined in Detail

Returns:

  • (Symbol)


23
# File 'lib/braintrust/models/chat_completion_content_part_image.rb', line 23

optional :detail, enum: -> { Braintrust::Models::ChatCompletionContentPartImage::ImageURL::Detail }

#urlString

Returns:

  • (String)


18
# File 'lib/braintrust/models/chat_completion_content_part_image.rb', line 18

required :url, String