glam/schemas/20251121/linkml/modules/classes/ThinkingMode.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

83 lines
No EOL
3 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_description
- ../slots/has_or_had_label
- ../slots/has_or_had_score # was: template_specificity
- ../slots/specificity_annotation
- ./SpecificityAnnotation
- ./TemplateSpecificityScore # was: TemplateSpecificityScores
- ./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:
examples:
- value: Preserved Thinking
has_or_had_description:
examples:
- value: Retains reasoning_content from previous assistant turns in context for improved performance.
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:
has_or_had_label: Preserved Thinking
has_or_had_description: Retains reasoning across conversation turns for improved accuracy.
- value:
has_or_had_label: Interleaved Thinking
has_or_had_description: Default mode - thinks between tool calls.