Class: LiterLlm::CreateResponseRequest
- Inherits:
-
Object
- Object
- LiterLlm::CreateResponseRequest
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#input ⇒ json_value?
Returns the value of attribute input.
-
#instructions ⇒ String?
Returns the value of attribute instructions.
-
#max_output_tokens ⇒ Integer?
Returns the value of attribute max_output_tokens.
-
#metadata ⇒ json_value?
Returns the value of attribute metadata.
-
#model ⇒ String?
Returns the value of attribute model.
-
#temperature ⇒ Float?
Returns the value of attribute temperature.
-
#tools ⇒ Array[ResponseTool]?
Returns the value of attribute tools.
Instance Method Summary collapse
-
#initialize ⇒ CreateResponseRequest
constructor
A new instance of CreateResponseRequest.
Constructor Details
#initialize ⇒ CreateResponseRequest
Returns a new instance of CreateResponseRequest.
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
#input ⇒ json_value?
Returns the value of attribute input.
624 625 626 |
# File 'sig/types.rbs', line 624 def input @input end |
#instructions ⇒ String?
Returns the value of attribute instructions.
625 626 627 |
# File 'sig/types.rbs', line 625 def instructions @instructions end |
#max_output_tokens ⇒ Integer?
Returns the value of attribute max_output_tokens.
628 629 630 |
# File 'sig/types.rbs', line 628 def max_output_tokens @max_output_tokens end |
#metadata ⇒ json_value?
Returns the value of attribute metadata.
629 630 631 |
# File 'sig/types.rbs', line 629 def @metadata end |
#model ⇒ String?
Returns the value of attribute model.
623 624 625 |
# File 'sig/types.rbs', line 623 def model @model end |
#temperature ⇒ Float?
Returns the value of attribute temperature.
627 628 629 |
# File 'sig/types.rbs', line 627 def temperature @temperature end |
#tools ⇒ Array[ResponseTool]?
Returns the value of attribute tools.
626 627 628 |
# File 'sig/types.rbs', line 626 def tools @tools end |