Class: Braintrust::Models::ChatCompletionContentPartText
- Defined in:
- lib/braintrust/models/chat_completion_content_part_text.rb
Defined Under Namespace
Classes: Type
Instance Attribute Summary collapse
- #text ⇒ String
-
#type ⇒ Symbol
One of the constants defined in Type.
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
#text ⇒ String
13 |
# File 'lib/braintrust/models/chat_completion_content_part_text.rb', line 13 optional :text, String |
#type ⇒ Symbol
One of the constants defined in Type
9 |
# File 'lib/braintrust/models/chat_completion_content_part_text.rb', line 9 required :type, enum: -> { Braintrust::Models::ChatCompletionContentPartText::Type } |