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.
239 |
# File 'sig/types.rbs', line 239
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.
236 237 238 |
# File 'sig/types.rbs', line 236 def extra_body @extra_body end |
#input ⇒ String (readonly)
Returns the value of attribute input.
230 231 232 |
# File 'sig/types.rbs', line 230 def input @input end |
#instructions ⇒ String? (readonly)
Returns the value of attribute instructions.
231 232 233 |
# File 'sig/types.rbs', line 231 def instructions @instructions end |
#max_output_tokens ⇒ Integer? (readonly)
Returns the value of attribute max_output_tokens.
234 235 236 |
# File 'sig/types.rbs', line 234 def max_output_tokens @max_output_tokens end |
#metadata ⇒ String? (readonly)
Returns the value of attribute metadata.
235 236 237 |
# File 'sig/types.rbs', line 235 def @metadata end |
#model ⇒ String (readonly)
Returns the value of attribute model.
229 230 231 |
# File 'sig/types.rbs', line 229 def model @model end |
#stream ⇒ Boolean? (readonly)
Returns the value of attribute stream.
237 238 239 |
# File 'sig/types.rbs', line 237 def stream @stream end |
#temperature ⇒ Float? (readonly)
Returns the value of attribute temperature.
233 234 235 |
# File 'sig/types.rbs', line 233 def temperature @temperature end |
#tools ⇒ Array[ResponseTool]? (readonly)
Returns the value of attribute tools.
232 233 234 |
# File 'sig/types.rbs', line 232 def tools @tools end |