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: (String)
  • instructions: (String)
  • tools: (Array[ResponseTool])
  • temperature: (Float)
  • max_output_tokens: (Integer)
  • metadata: (String)
  • extra_body: (String)
  • stream: (Boolean)


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_bodyString? (readonly)

Returns the value of attribute extra_body.

Returns:

  • (String, nil)


236
237
238
# File 'sig/types.rbs', line 236

def extra_body
  @extra_body
end

#inputString (readonly)

Returns the value of attribute input.

Returns:

  • (String)


230
231
232
# File 'sig/types.rbs', line 230

def input
  @input
end

#instructionsString? (readonly)

Returns the value of attribute instructions.

Returns:

  • (String, nil)


231
232
233
# File 'sig/types.rbs', line 231

def instructions
  @instructions
end

#max_output_tokensInteger? (readonly)

Returns the value of attribute max_output_tokens.

Returns:

  • (Integer, nil)


234
235
236
# File 'sig/types.rbs', line 234

def max_output_tokens
  @max_output_tokens
end

#metadataString? (readonly)

Returns the value of attribute metadata.

Returns:

  • (String, nil)


235
236
237
# File 'sig/types.rbs', line 235

def 
  @metadata
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


229
230
231
# File 'sig/types.rbs', line 229

def model
  @model
end

#streamBoolean? (readonly)

Returns the value of attribute stream.

Returns:

  • (Boolean, nil)


237
238
239
# File 'sig/types.rbs', line 237

def stream
  @stream
end

#temperatureFloat? (readonly)

Returns the value of attribute temperature.

Returns:

  • (Float, nil)


233
234
235
# File 'sig/types.rbs', line 233

def temperature
  @temperature
end

#toolsArray[ResponseTool]? (readonly)

Returns the value of attribute tools.

Returns:



232
233
234
# File 'sig/types.rbs', line 232

def tools
  @tools
end