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
352 353 354 |
# File 'lib/liter_llm/native.rb', line 352 def self.from_hash(hash) new end |
Instance Method Details
#json_object? ⇒ Boolean
346 |
# File 'lib/liter_llm/native.rb', line 346 def json_object? = false |
#json_schema? ⇒ Boolean
348 349 350 |
# File 'lib/liter_llm/native.rb', line 348 def json_schema? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#text? ⇒ Boolean
344 |
# File 'lib/liter_llm/native.rb', line 344 def text? = true |