Class: LittleGhost::StructuredOutput::ProviderStrategy

Inherits:
Strategy
  • Object
show all
Defined in:
lib/little_ghost/structured_output.rb

Instance Attribute Summary

Attributes inherited from Strategy

#configuration

Instance Method Summary collapse

Methods inherited from Strategy

#initialize, #schema_name, #tool?, #tool_choice, #tools

Constructor Details

This class inherits a constructor from LittleGhost::StructuredOutput::Strategy

Instance Method Details

#output_schemaObject



25
# File 'lib/little_ghost/structured_output.rb', line 25

def output_schema = configuration

#provider?Boolean

Returns:

  • (Boolean)


24
# File 'lib/little_ghost/structured_output.rb', line 24

def provider? = true

#required_capabilitiesObject



26
# File 'lib/little_ghost/structured_output.rb', line 26

def required_capabilities = [:native_structured_output].freeze