Class: Xberg::StructuredExtractionConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStructuredExtractionConfig

Returns a new instance of StructuredExtractionConfig.

Parameters:

  • schema: (json_value)
  • schema_name: (String)
  • schema_description: (String)
  • strict: (Boolean)
  • prompt: (String)
  • llm: (LlmConfig)


296
# File 'sig/types.rbs', line 296

def initialize: (schema: json_value, schema_name: String, ?schema_description: String, strict: bool, ?prompt: String, llm: LlmConfig) -> void

Instance Attribute Details

#llmLlmConfig (readonly)

Returns the value of attribute llm.

Returns:



294
295
296
# File 'sig/types.rbs', line 294

def llm
  @llm
end

#promptString (readonly)

Returns the value of attribute prompt.

Returns:

  • (String)


293
294
295
# File 'sig/types.rbs', line 293

def prompt
  @prompt
end

#schemajson_value (readonly)

Returns the value of attribute schema.

Returns:

  • (json_value)


289
290
291
# File 'sig/types.rbs', line 289

def schema
  @schema
end

#schema_descriptionString (readonly)

Returns the value of attribute schema_description.

Returns:

  • (String)


291
292
293
# File 'sig/types.rbs', line 291

def schema_description
  @schema_description
end

#schema_nameString (readonly)

Returns the value of attribute schema_name.

Returns:

  • (String)


290
291
292
# File 'sig/types.rbs', line 290

def schema_name
  @schema_name
end

#strictBoolean (readonly)

Returns the value of attribute strict.

Returns:

  • (Boolean)


292
293
294
# File 'sig/types.rbs', line 292

def strict
  @strict
end