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
726 727 728 |
# File 'lib/liter_llm/native.rb', line 726 def self.from_hash(hash) new end |
Instance Method Details
#json_object? ⇒ Boolean
720 |
# File 'lib/liter_llm/native.rb', line 720 def json_object? = false |
#json_schema? ⇒ Boolean
722 723 724 |
# File 'lib/liter_llm/native.rb', line 722 def json_schema? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#text? ⇒ Boolean
718 |
# File 'lib/liter_llm/native.rb', line 718 def text? = true |