Class: LiterLlm::ResponseFormatText
- Inherits:
-
Data
- Object
- Data
- LiterLlm::ResponseFormatText
- Extended by:
- T::Sig
- Includes:
- ResponseFormat
- Defined in:
- lib/liter_llm/native.rb
Overview
Plain text output (default).
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_hash(hash) ⇒ Object
487 488 489 |
# File 'lib/liter_llm/native.rb', line 487 def self.from_hash(hash) new end |
Instance Method Details
#json_object? ⇒ Boolean
481 |
# File 'lib/liter_llm/native.rb', line 481 def json_object? = false |
#json_schema? ⇒ Boolean
483 484 485 |
# File 'lib/liter_llm/native.rb', line 483 def json_schema? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#text? ⇒ Boolean
479 |
# File 'lib/liter_llm/native.rb', line 479 def text? = true |