Method: OpenApiOpenAIClient::CreateCompletionRequest#to_body

Defined in:
lib/openapi_openai/models/create_completion_request.rb

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



546
547
548
# File 'lib/openapi_openai/models/create_completion_request.rb', line 546

def to_body
  to_hash
end