Skip to content

Class: LMThinkingPart

Reasoning / thinking trace returned by a model.

URI: dspy:LMThinkingPart

 classDiagram
    class LMThinkingPart
    click LMThinkingPart href "../LMThinkingPart/"
      LMPart <|-- LMThinkingPart
        click LMPart href "../LMPart/"

      LMThinkingPart : metadata





        LMThinkingPart --> "0..1" Any : metadata
        click Any href "../Any/"



      LMThinkingPart : part_type

      LMThinkingPart : redacted

      LMThinkingPart : text

Inheritance

Slots

Name Cardinality and Range Description Inheritance
text 0..1
String
Plain-text payload direct
redacted 0..1
Boolean
Whether the content has been redacted direct
metadata 0..1
Any
Opaque key/value metadata passed alongside an object LMPart
part_type 1
String
Discriminator for the LMPart subclass LMPart

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:LMThinkingPart
native dspy:LMThinkingPart

LinkML Source

Direct

name: LMThinkingPart
description: Reasoning / thinking trace returned by a model.
in_subset:
- lm_contract
from_schema: https://w3id.org/lmodel/dspy
is_a: LMPart
slots:
- text
- redacted
slot_usage:
  part_type:
    name: part_type
    ifabsent: string(thinking)
    equals_string: thinking

Induced

name: LMThinkingPart
description: Reasoning / thinking trace returned by a model.
in_subset:
- lm_contract
from_schema: https://w3id.org/lmodel/dspy
is_a: LMPart
slot_usage:
  part_type:
    name: part_type
    ifabsent: string(thinking)
    equals_string: thinking
attributes:
  text:
    name: text
    description: Plain-text payload.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: LMThinkingPart
    domain_of:
    - Reasoning
    - Citation
    - LMTextPart
    - LMThinkingPart
    - LMCitationPart
    - LMRefusalPart
    range: string
  redacted:
    name: redacted
    description: Whether the content has been redacted.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: LMThinkingPart
    domain_of:
    - Reasoning
    - LMThinkingPart
    range: boolean
  metadata:
    name: metadata
    description: Opaque key/value metadata passed alongside an object.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: LMThinkingPart
    domain_of:
    - ToolResult
    - Citation
    - LMPart
    - LMMessage
    - LMToolSpec
    - LMRequest
    - LMUsage
    - LMOutput
    - LMResponse
    range: Any
  part_type:
    name: part_type
    description: Discriminator for the LMPart subclass. One of the ``LMPartType``
      permissible values.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    ifabsent: string(thinking)
    owner: LMThinkingPart
    domain_of:
    - LMPart
    range: string
    required: true
    equals_string: thinking