Class: Inquirex::LLM::Schema::Field

Inherits:
Data
  • Object
show all
Defined in:
lib/inquirex/llm/schema.rb

Overview

A single field's contract: its data type and, for enum-like types, the allowed values the LLM must choose from.

Instance Attribute Summary collapse

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



34
35
36
# File 'lib/inquirex/llm/schema.rb', line 34

def type
  @type
end

#valuesObject (readonly)

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



34
35
36
# File 'lib/inquirex/llm/schema.rb', line 34

def values
  @values
end