Class: Braintrust::Models::ChatCompletionMessageToolCall

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

Defined Under Namespace

Classes: Function, 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

#functionBraintrust::Models::ChatCompletionMessageToolCall::Function



12
# File 'lib/braintrust/models/chat_completion_message_tool_call.rb', line 12

required :function, -> { Braintrust::Models::ChatCompletionMessageToolCall::Function }

#idString

Returns:

  • (String)


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

required :id, String

#typeSymbol

One of the constants defined in Type

Returns:

  • (Symbol)


17
# File 'lib/braintrust/models/chat_completion_message_tool_call.rb', line 17

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