Class: RubyLLM::ModelCapabilities::Base
- Inherits:
-
Object
- Object
- RubyLLM::ModelCapabilities::Base
- Defined in:
- lib/ruby_llm/model_capabilities/base.rb
Instance Method Summary collapse
- #determine_context_window(_model_id) ⇒ Object
- #determine_max_tokens(_model_id) ⇒ Object
- #get_input_price(_model_id) ⇒ Object
- #get_output_price(_model_id) ⇒ Object
- #supports_functions?(_model_id) ⇒ Boolean
- #supports_json_mode?(_model_id) ⇒ Boolean
- #supports_vision?(_model_id) ⇒ Boolean
Instance Method Details
#determine_context_window(_model_id) ⇒ Object
6 7 8 |
# File 'lib/ruby_llm/model_capabilities/base.rb', line 6 def determine_context_window(_model_id) raise NotImplementedError end |
#determine_max_tokens(_model_id) ⇒ Object
10 11 12 |
# File 'lib/ruby_llm/model_capabilities/base.rb', line 10 def determine_max_tokens(_model_id) raise NotImplementedError end |
#get_input_price(_model_id) ⇒ Object
14 15 16 |
# File 'lib/ruby_llm/model_capabilities/base.rb', line 14 def get_input_price(_model_id) raise NotImplementedError end |
#get_output_price(_model_id) ⇒ Object
18 19 20 |
# File 'lib/ruby_llm/model_capabilities/base.rb', line 18 def get_output_price(_model_id) raise NotImplementedError end |
#supports_functions?(_model_id) ⇒ Boolean
26 27 28 |
# File 'lib/ruby_llm/model_capabilities/base.rb', line 26 def supports_functions?(_model_id) raise NotImplementedError end |
#supports_json_mode?(_model_id) ⇒ Boolean
30 31 32 |
# File 'lib/ruby_llm/model_capabilities/base.rb', line 30 def supports_json_mode?(_model_id) raise NotImplementedError end |
#supports_vision?(_model_id) ⇒ Boolean
22 23 24 |
# File 'lib/ruby_llm/model_capabilities/base.rb', line 22 def supports_vision?(_model_id) raise NotImplementedError end |