Class: LiterLlm::CreateResponseRequest
- Inherits:
-
Object
- Object
- LiterLlm::CreateResponseRequest
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#extra_body ⇒ String?
readonly
Returns the value of attribute extra_body.
-
#input ⇒ String
readonly
Returns the value of attribute input.
-
#instructions ⇒ String?
readonly
Returns the value of attribute instructions.
-
#max_output_tokens ⇒ Integer?
readonly
Returns the value of attribute max_output_tokens.
-
#metadata ⇒ String?
readonly
Returns the value of attribute metadata.
-
#model ⇒ String
readonly
Returns the value of attribute model.
-
#stream ⇒ Boolean?
readonly
Returns the value of attribute stream.
-
#temperature ⇒ Float?
readonly
Returns the value of attribute temperature.
-
#tools ⇒ Array[ResponseTool]?
readonly
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.
643 |
# File 'sig/types.rbs', line 643
def initialize: (?model: String, ?input: String, ?instructions: String, ?tools: Array[ResponseTool], ?temperature: Float, ?max_output_tokens: Integer, ?metadata: String, ?extra_body: String, ?stream: bool) -> void
|
Instance Attribute Details
#extra_body ⇒ String? (readonly)
Returns the value of attribute extra_body.
640 641 642 |
# File 'sig/types.rbs', line 640 def extra_body @extra_body end |
#input ⇒ String (readonly)
Returns the value of attribute input.
634 635 636 |
# File 'sig/types.rbs', line 634 def input @input end |
#instructions ⇒ String? (readonly)
Returns the value of attribute instructions.
635 636 637 |
# File 'sig/types.rbs', line 635 def instructions @instructions end |
#max_output_tokens ⇒ Integer? (readonly)
Returns the value of attribute max_output_tokens.
638 639 640 |
# File 'sig/types.rbs', line 638 def max_output_tokens @max_output_tokens end |
#metadata ⇒ String? (readonly)
Returns the value of attribute metadata.
639 640 641 |
# File 'sig/types.rbs', line 639 def @metadata end |
#model ⇒ String (readonly)
Returns the value of attribute model.
633 634 635 |
# File 'sig/types.rbs', line 633 def model @model end |
#stream ⇒ Boolean? (readonly)
Returns the value of attribute stream.
641 642 643 |
# File 'sig/types.rbs', line 641 def stream @stream end |
#temperature ⇒ Float? (readonly)
Returns the value of attribute temperature.
637 638 639 |
# File 'sig/types.rbs', line 637 def temperature @temperature end |
#tools ⇒ Array[ResponseTool]? (readonly)
Returns the value of attribute tools.
636 637 638 |
# File 'sig/types.rbs', line 636 def tools @tools end |