Class: LiterLlm::ModelInfo
- Inherits:
-
Object
- Object
- LiterLlm::ModelInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_creation_input_token_cost ⇒ Float?
Returns the value of attribute cache_creation_input_token_cost.
-
#cache_read_input_token_cost ⇒ Float?
Returns the value of attribute cache_read_input_token_cost.
-
#input_cost_per_audio_token ⇒ Float?
Returns the value of attribute input_cost_per_audio_token.
-
#input_cost_per_token ⇒ Float?
Returns the value of attribute input_cost_per_token.
-
#max_input_tokens ⇒ Integer?
Returns the value of attribute max_input_tokens.
-
#max_output_tokens ⇒ Integer?
Returns the value of attribute max_output_tokens.
-
#max_tokens ⇒ Integer?
Returns the value of attribute max_tokens.
-
#mode ⇒ String?
Returns the value of attribute mode.
-
#output_cost_per_audio_token ⇒ Float?
Returns the value of attribute output_cost_per_audio_token.
-
#output_cost_per_reasoning_token ⇒ Float?
Returns the value of attribute output_cost_per_reasoning_token.
-
#output_cost_per_token ⇒ Float?
Returns the value of attribute output_cost_per_token.
-
#supports_audio_input ⇒ Boolean?
Returns the value of attribute supports_audio_input.
-
#supports_audio_output ⇒ Boolean?
Returns the value of attribute supports_audio_output.
-
#supports_function_calling ⇒ Boolean?
Returns the value of attribute supports_function_calling.
-
#supports_prompt_caching ⇒ Boolean?
Returns the value of attribute supports_prompt_caching.
-
#supports_reasoning ⇒ Boolean?
Returns the value of attribute supports_reasoning.
-
#supports_structured_output ⇒ Boolean?
Returns the value of attribute supports_structured_output.
-
#supports_vision ⇒ Boolean?
Returns the value of attribute supports_vision.
-
#tiers ⇒ Array[ModelTier]?
Returns the value of attribute tiers.
Instance Method Summary collapse
-
#initialize ⇒ ModelInfo
constructor
A new instance of ModelInfo.
Constructor Details
#initialize ⇒ ModelInfo
Returns a new instance of ModelInfo.
765 |
# File 'sig/types.rbs', line 765
def initialize: (?input_cost_per_token: Float, ?output_cost_per_token: Float, ?cache_read_input_token_cost: Float, ?cache_creation_input_token_cost: Float, ?input_cost_per_audio_token: Float, ?output_cost_per_audio_token: Float, ?output_cost_per_reasoning_token: Float, ?max_tokens: Integer, ?max_input_tokens: Integer, ?max_output_tokens: Integer, ?mode: String, ?supports_vision: bool, ?supports_function_calling: bool, ?supports_reasoning: bool, ?supports_structured_output: bool, ?supports_audio_input: bool, ?supports_audio_output: bool, ?supports_prompt_caching: bool, ?tiers: Array[ModelTier]) -> void
|
Instance Attribute Details
#cache_creation_input_token_cost ⇒ Float?
Returns the value of attribute cache_creation_input_token_cost.
748 749 750 |
# File 'sig/types.rbs', line 748 def cache_creation_input_token_cost @cache_creation_input_token_cost end |
#cache_read_input_token_cost ⇒ Float?
Returns the value of attribute cache_read_input_token_cost.
747 748 749 |
# File 'sig/types.rbs', line 747 def cache_read_input_token_cost @cache_read_input_token_cost end |
#input_cost_per_audio_token ⇒ Float?
Returns the value of attribute input_cost_per_audio_token.
749 750 751 |
# File 'sig/types.rbs', line 749 def input_cost_per_audio_token @input_cost_per_audio_token end |
#input_cost_per_token ⇒ Float?
Returns the value of attribute input_cost_per_token.
745 746 747 |
# File 'sig/types.rbs', line 745 def input_cost_per_token @input_cost_per_token end |
#max_input_tokens ⇒ Integer?
Returns the value of attribute max_input_tokens.
753 754 755 |
# File 'sig/types.rbs', line 753 def max_input_tokens @max_input_tokens end |
#max_output_tokens ⇒ Integer?
Returns the value of attribute max_output_tokens.
754 755 756 |
# File 'sig/types.rbs', line 754 def max_output_tokens @max_output_tokens end |
#max_tokens ⇒ Integer?
Returns the value of attribute max_tokens.
752 753 754 |
# File 'sig/types.rbs', line 752 def max_tokens @max_tokens end |
#mode ⇒ String?
Returns the value of attribute mode.
755 756 757 |
# File 'sig/types.rbs', line 755 def mode @mode end |
#output_cost_per_audio_token ⇒ Float?
Returns the value of attribute output_cost_per_audio_token.
750 751 752 |
# File 'sig/types.rbs', line 750 def output_cost_per_audio_token @output_cost_per_audio_token end |
#output_cost_per_reasoning_token ⇒ Float?
Returns the value of attribute output_cost_per_reasoning_token.
751 752 753 |
# File 'sig/types.rbs', line 751 def output_cost_per_reasoning_token @output_cost_per_reasoning_token end |
#output_cost_per_token ⇒ Float?
Returns the value of attribute output_cost_per_token.
746 747 748 |
# File 'sig/types.rbs', line 746 def output_cost_per_token @output_cost_per_token end |
#supports_audio_input ⇒ Boolean?
Returns the value of attribute supports_audio_input.
760 761 762 |
# File 'sig/types.rbs', line 760 def supports_audio_input @supports_audio_input end |
#supports_audio_output ⇒ Boolean?
Returns the value of attribute supports_audio_output.
761 762 763 |
# File 'sig/types.rbs', line 761 def supports_audio_output @supports_audio_output end |
#supports_function_calling ⇒ Boolean?
Returns the value of attribute supports_function_calling.
757 758 759 |
# File 'sig/types.rbs', line 757 def supports_function_calling @supports_function_calling end |
#supports_prompt_caching ⇒ Boolean?
Returns the value of attribute supports_prompt_caching.
762 763 764 |
# File 'sig/types.rbs', line 762 def supports_prompt_caching @supports_prompt_caching end |
#supports_reasoning ⇒ Boolean?
Returns the value of attribute supports_reasoning.
758 759 760 |
# File 'sig/types.rbs', line 758 def supports_reasoning @supports_reasoning end |
#supports_structured_output ⇒ Boolean?
Returns the value of attribute supports_structured_output.
759 760 761 |
# File 'sig/types.rbs', line 759 def supports_structured_output @supports_structured_output end |
#supports_vision ⇒ Boolean?
Returns the value of attribute supports_vision.
756 757 758 |
# File 'sig/types.rbs', line 756 def supports_vision @supports_vision end |
#tiers ⇒ Array[ModelTier]?
Returns the value of attribute tiers.
763 764 765 |
# File 'sig/types.rbs', line 763 def tiers @tiers end |