glam/schemas/20251121/linkml/modules/classes/ThinkingMode.yaml
kempersc f7bf1cc5ae Refactor schema slots and classes
- Deleted obsolete slot definitions: statement_summary, statement_text, statement_type, status_name, supersede_articles, supersede_condition, supersede_name, temporal_dynamics, total_amount, typical_contents, use_cases, was_acquired_through, was_fetched_at, was_retrieved_at.
- Updated existing slot definitions for states_or_stated to enhance clarity and structure.
- Introduced new classes: Article, ConditionofAccess, FinancialStatementType, MaximumQuantity, Series, Summary, Type, and their respective slots to improve schema organization and usability.
- Added new slots: changes_or_changed_through, has_or_had_condition_of_access, has_or_had_heritage_type, is_or_was_part_of_series, is_or_was_retrieved_at, maximum_of_maximum to capture additional metadata and relationships.
2026-01-30 00:29:31 +01:00

94 lines
3.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/ThinkingMode
name: thinking_mode_class
title: Thinking Mode Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
prov: http://www.w3.org/ns/prov#
default_prefix: hc
imports:
- linkml:types
- ../enums/ThinkingModeEnum
- ../slots/has_or_had_label
- ../slots/has_or_had_description
- ../slots/specificity_annotation
- ../slots/has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
- ./SpecificityAnnotation
- ./TemplateSpecificityScore # was: TemplateSpecificityScores - migrated per Rule 53 (2026-01-17)
- ./TemplateSpecificityType
- ./TemplateSpecificityTypes
classes:
ThinkingMode:
class_uri: schema:PropertyValue
description: |
LLM thinking mode configuration for API requests.
**DEFINITION**:
ThinkingMode represents the operational mode for LLM reasoning during inference.
This class wraps ThinkingModeEnum to provide extensibility and structured metadata.
**GLM 4.7 Thinking Modes** (https://docs.z.ai/guides/capabilities/thinking-mode):
1. **enabled** - Thinking enabled, model reasons before responding
2. **disabled** - Thinking disabled, faster responses without reasoning_content
3. **interleaved** - Think between tool calls (default since GLM-4.5)
4. **preserved** - Retain reasoning across turns (Coding Plan default)
**Ontological Alignment**:
- Maps to `schema:PropertyValue` for configuration settings
- Enables future extension with timing, tokens, confidence metadata
**Migration Note**:
Created 2026-01-16 to replace bespoke `thinking_mode` slot per Rule 53/56.
The enum ThinkingModeEnum is preserved; this class adds structure.
exact_mappings:
- schema:PropertyValue
close_mappings:
- prov:Plan
slots:
- has_or_had_label
- has_or_had_description
- specificity_annotation
- has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
attributes:
mode_value:
description: |
The thinking mode enum value.
One of: enabled, disabled, interleaved, preserved.
range: ThinkingModeEnum
required: true
slot_usage:
has_or_had_label:
description: Human-readable label for the thinking mode.
examples:
- value: Preserved Thinking
description: Multi-turn reasoning preservation mode
has_or_had_description:
description: Detailed description of the thinking mode configuration.
examples:
- value: Retains reasoning_content from previous assistant turns in context for improved performance.
description: Preserved mode explanation
annotations:
specificity_score: 0.75
specificity_rationale: Highly specific to LLM API configuration domain
custodian_types: '["D"]'
custodian_types_rationale: Applies to Digital Platform custodians using LLM APIs
examples:
- value:
mode_value: preserved
has_or_had_label: Preserved Thinking
has_or_had_description: Retains reasoning across conversation turns for improved accuracy.
description: GLM 4.7 Preserved Thinking mode for multi-turn agents
- value:
mode_value: interleaved
has_or_had_label: Interleaved Thinking
has_or_had_description: Default mode - thinks between tool calls.
description: Default GLM 4.5+ interleaved thinking mode