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)


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

Returns the value of attribute extra_body.

Returns:

  • (String, nil)


640
641
642
# File 'sig/types.rbs', line 640

def extra_body
  @extra_body
end

#inputString (readonly)

Returns the value of attribute input.

Returns:

  • (String)


634
635
636
# File 'sig/types.rbs', line 634

def input
  @input
end

#instructionsString? (readonly)

Returns the value of attribute instructions.

Returns:

  • (String, nil)


635
636
637
# File 'sig/types.rbs', line 635

def instructions
  @instructions
end

#max_output_tokensInteger? (readonly)

Returns the value of attribute max_output_tokens.

Returns:

  • (Integer, nil)


638
639
640
# File 'sig/types.rbs', line 638

def max_output_tokens
  @max_output_tokens
end

#metadataString? (readonly)

Returns the value of attribute metadata.

Returns:

  • (String, nil)


639
640
641
# File 'sig/types.rbs', line 639

def 
  @metadata
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


633
634
635
# File 'sig/types.rbs', line 633

def model
  @model
end

#streamBoolean? (readonly)

Returns the value of attribute stream.

Returns:

  • (Boolean, nil)


641
642
643
# File 'sig/types.rbs', line 641

def stream
  @stream
end

#temperatureFloat? (readonly)

Returns the value of attribute temperature.

Returns:

  • (Float, nil)


637
638
639
# File 'sig/types.rbs', line 637

def temperature
  @temperature
end

#toolsArray[ResponseTool]? (readonly)

Returns the value of attribute tools.

Returns:



636
637
638
# File 'sig/types.rbs', line 636

def tools
  @tools
end