Class: LiterLlm::ResponseFormatJsonObject
- Inherits:
-
Data
- Object
- Data
- LiterLlm::ResponseFormatJsonObject
- Extended by:
- T::Sig
- Includes:
- ResponseFormat
- Defined in:
- lib/liter_llm/native.rb
Overview
Output must be valid JSON object (no schema validation).
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_hash(hash) ⇒ Object
370 371 372 |
# File 'lib/liter_llm/native.rb', line 370 def self.from_hash(hash) new end |
Instance Method Details
#json_object? ⇒ Boolean
364 |
# File 'lib/liter_llm/native.rb', line 364 def json_object? = true |
#json_schema? ⇒ Boolean
366 367 368 |
# File 'lib/liter_llm/native.rb', line 366 def json_schema? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#text? ⇒ Boolean
362 |
# File 'lib/liter_llm/native.rb', line 362 def text? = false |