Class: Braintrust::Models::ChatCompletionContentPartImage

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

Defined Under Namespace

Classes: ImageURL, Type

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

#image_urlBraintrust::Models::ChatCompletionContentPartImage::ImageURL



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

required :image_url, -> { Braintrust::Models::ChatCompletionContentPartImage::ImageURL }

#typeSymbol

One of the constants defined in Type

Returns:

  • (Symbol)


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

required :type, enum: -> { Braintrust::Models::ChatCompletionContentPartImage::Type }