Class: LiterLlm::CreateResponseRequest

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCreateResponseRequest

Returns a new instance of CreateResponseRequest.

Parameters:

  • model: (String)
  • input: (json_value)
  • instructions: (String)
  • tools: (Array[ResponseTool])
  • temperature: (Float)
  • max_output_tokens: (Integer)
  • metadata: (json_value)


631
# File 'sig/types.rbs', line 631

def initialize: (?model: String, ?input: json_value, ?instructions: String, ?tools: Array[ResponseTool], ?temperature: Float, ?max_output_tokens: Integer, ?metadata: json_value) -> void

Instance Attribute Details

#inputjson_value?

Returns the value of attribute input.

Returns:

  • (json_value, nil)


624
625
626
# File 'sig/types.rbs', line 624

def input
  @input
end

#instructionsString?

Returns the value of attribute instructions.

Returns:

  • (String, nil)


625
626
627
# File 'sig/types.rbs', line 625

def instructions
  @instructions
end

#max_output_tokensInteger?

Returns the value of attribute max_output_tokens.

Returns:

  • (Integer, nil)


628
629
630
# File 'sig/types.rbs', line 628

def max_output_tokens
  @max_output_tokens
end

#metadatajson_value?

Returns the value of attribute metadata.

Returns:

  • (json_value, nil)


629
630
631
# File 'sig/types.rbs', line 629

def 
  @metadata
end

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


623
624
625
# File 'sig/types.rbs', line 623

def model
  @model
end

#temperatureFloat?

Returns the value of attribute temperature.

Returns:

  • (Float, nil)


627
628
629
# File 'sig/types.rbs', line 627

def temperature
  @temperature
end

#toolsArray[ResponseTool]?

Returns the value of attribute tools.

Returns:



626
627
628
# File 'sig/types.rbs', line 626

def tools
  @tools
end