Method: OpenApiOpenAIClient::ChatCompletionRequestToolMessage#hash
- Defined in:
- lib/openapi_openai/models/chat_completion_request_tool_message.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
172 173 174 |
# File 'lib/openapi_openai/models/chat_completion_request_tool_message.rb', line 172 def hash [role, content, tool_call_id].hash end |