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
514 515 516 |
# File 'lib/liter_llm/native.rb', line 514 def self.from_hash(hash) new end |
Instance Method Details
#json_object? ⇒ Boolean
508 |
# File 'lib/liter_llm/native.rb', line 508 def json_object? = false |
#json_schema? ⇒ Boolean
510 511 512 |
# File 'lib/liter_llm/native.rb', line 510 def json_schema? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#text? ⇒ Boolean
506 |
# File 'lib/liter_llm/native.rb', line 506 def text? = true |