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)


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

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:



315
316
317
# File 'sig/types.rbs', line 315

def llm
  @llm
end

#promptString (readonly)

Returns the value of attribute prompt.

Returns:

  • (String)


314
315
316
# File 'sig/types.rbs', line 314

def prompt
  @prompt
end

#schemajson_value (readonly)

Returns the value of attribute schema.

Returns:

  • (json_value)


310
311
312
# File 'sig/types.rbs', line 310

def schema
  @schema
end

#schema_descriptionString (readonly)

Returns the value of attribute schema_description.

Returns:

  • (String)


312
313
314
# File 'sig/types.rbs', line 312

def schema_description
  @schema_description
end

#schema_nameString (readonly)

Returns the value of attribute schema_name.

Returns:

  • (String)


311
312
313
# File 'sig/types.rbs', line 311

def schema_name
  @schema_name
end

#strictBoolean (readonly)

Returns the value of attribute strict.

Returns:

  • (Boolean)


313
314
315
# File 'sig/types.rbs', line 313

def strict
  @strict
end