Class: Xberg::Preset
- Inherits:
-
Object
- Object
- Xberg::Preset
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#category ⇒ PresetCategory
readonly
Returns the value of attribute category.
-
#context_template ⇒ String
readonly
Returns the value of attribute context_template.
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#emit_citations ⇒ Boolean
readonly
Returns the value of attribute emit_citations.
-
#fingerprint ⇒ String
readonly
Returns the value of attribute fingerprint.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#merge_mode ⇒ MergeMode
readonly
Returns the value of attribute merge_mode.
-
#preferred_call_mode ⇒ CallMode
readonly
Returns the value of attribute preferred_call_mode.
-
#sample ⇒ PresetSample
readonly
Returns the value of attribute sample.
-
#schema ⇒ json_value
readonly
Returns the value of attribute schema.
-
#schema_name ⇒ String
readonly
Returns the value of attribute schema_name.
-
#system_prompt ⇒ String
readonly
Returns the value of attribute system_prompt.
-
#tags ⇒ Array[String]
readonly
Returns the value of attribute tags.
-
#version ⇒ String
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Preset
constructor
A new instance of Preset.
Constructor Details
#initialize ⇒ Preset
Returns a new instance of Preset.
2082 |
# File 'sig/types.rbs', line 2082
def initialize: (id: String, version: String, schema_name: String, description: String, category: PresetCategory, tags: Array[String], schema: json_value, system_prompt: String, ?context_template: String, merge_mode: MergeMode, preferred_call_mode: CallMode, emit_citations: bool, ?sample: PresetSample, fingerprint: String) -> void
|
Instance Attribute Details
#category ⇒ PresetCategory (readonly)
Returns the value of attribute category.
2071 2072 2073 |
# File 'sig/types.rbs', line 2071 def category @category end |
#context_template ⇒ String (readonly)
Returns the value of attribute context_template.
2075 2076 2077 |
# File 'sig/types.rbs', line 2075 def context_template @context_template end |
#description ⇒ String (readonly)
Returns the value of attribute description.
2070 2071 2072 |
# File 'sig/types.rbs', line 2070 def description @description end |
#emit_citations ⇒ Boolean (readonly)
Returns the value of attribute emit_citations.
2078 2079 2080 |
# File 'sig/types.rbs', line 2078 def emit_citations @emit_citations end |
#fingerprint ⇒ String (readonly)
Returns the value of attribute fingerprint.
2080 2081 2082 |
# File 'sig/types.rbs', line 2080 def fingerprint @fingerprint end |
#id ⇒ String (readonly)
Returns the value of attribute id.
2067 2068 2069 |
# File 'sig/types.rbs', line 2067 def id @id end |
#merge_mode ⇒ MergeMode (readonly)
Returns the value of attribute merge_mode.
2076 2077 2078 |
# File 'sig/types.rbs', line 2076 def merge_mode @merge_mode end |
#preferred_call_mode ⇒ CallMode (readonly)
Returns the value of attribute preferred_call_mode.
2077 2078 2079 |
# File 'sig/types.rbs', line 2077 def preferred_call_mode @preferred_call_mode end |
#sample ⇒ PresetSample (readonly)
Returns the value of attribute sample.
2079 2080 2081 |
# File 'sig/types.rbs', line 2079 def sample @sample end |
#schema ⇒ json_value (readonly)
Returns the value of attribute schema.
2073 2074 2075 |
# File 'sig/types.rbs', line 2073 def schema @schema end |
#schema_name ⇒ String (readonly)
Returns the value of attribute schema_name.
2069 2070 2071 |
# File 'sig/types.rbs', line 2069 def schema_name @schema_name end |
#system_prompt ⇒ String (readonly)
Returns the value of attribute system_prompt.
2074 2075 2076 |
# File 'sig/types.rbs', line 2074 def system_prompt @system_prompt end |
#tags ⇒ Array[String] (readonly)
Returns the value of attribute tags.
2072 2073 2074 |
# File 'sig/types.rbs', line 2072 def @tags end |
#version ⇒ String (readonly)
Returns the value of attribute version.
2068 2069 2070 |
# File 'sig/types.rbs', line 2068 def version @version end |