Class: Xberg::StructuredExtractionConfig
- Inherits:
-
Object
- Object
- Xberg::StructuredExtractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#llm ⇒ LlmConfig
readonly
Returns the value of attribute llm.
-
#prompt ⇒ String?
readonly
Returns the value of attribute prompt.
-
#schema ⇒ String
readonly
Returns the value of attribute schema.
-
#schema_description ⇒ String?
readonly
Returns the value of attribute schema_description.
-
#schema_name ⇒ String
readonly
Returns the value of attribute schema_name.
-
#strict ⇒ Boolean
readonly
Returns the value of attribute strict.
Instance Method Summary collapse
-
#initialize ⇒ StructuredExtractionConfig
constructor
A new instance of StructuredExtractionConfig.
Constructor Details
#initialize ⇒ StructuredExtractionConfig
Returns a new instance of StructuredExtractionConfig.
2445 |
# File 'sig/types.rbs', line 2445
def initialize: (schema: String, schema_name: String, ?schema_description: String, strict: bool, ?prompt: String, llm: LlmConfig) -> void
|
Instance Attribute Details
#llm ⇒ LlmConfig (readonly)
Returns the value of attribute llm.
2443 2444 2445 |
# File 'sig/types.rbs', line 2443 def llm @llm end |
#prompt ⇒ String? (readonly)
Returns the value of attribute prompt.
2442 2443 2444 |
# File 'sig/types.rbs', line 2442 def prompt @prompt end |
#schema ⇒ String (readonly)
Returns the value of attribute schema.
2438 2439 2440 |
# File 'sig/types.rbs', line 2438 def schema @schema end |
#schema_description ⇒ String? (readonly)
Returns the value of attribute schema_description.
2440 2441 2442 |
# File 'sig/types.rbs', line 2440 def schema_description @schema_description end |
#schema_name ⇒ String (readonly)
Returns the value of attribute schema_name.
2439 2440 2441 |
# File 'sig/types.rbs', line 2439 def schema_name @schema_name end |
#strict ⇒ Boolean (readonly)
Returns the value of attribute strict.
2441 2442 2443 |
# File 'sig/types.rbs', line 2441 def strict @strict end |