Skip to content

Class: NamedThing

Abstract base for any identifiable DSPy artefact. Every concrete class in this schema inherits from NamedThing so that it gains a stable identifier and human-readable label.

  • NOTE: this is an abstract class and should not be instantiated directly

URI: dspy:NamedThing

 classDiagram
    class NamedThing
    click NamedThing href "../NamedThing/"
      NamedThing <|-- Example
        click Example href "../Example/"
      NamedThing <|-- Completions
        click Completions href "../Completions/"
      NamedThing <|-- Signature
        click Signature href "../Signature/"
      NamedThing <|-- Tool
        click Tool href "../Tool/"
      NamedThing <|-- ToolCall
        click ToolCall href "../ToolCall/"
      NamedThing <|-- ToolResult
        click ToolResult href "../ToolResult/"
      NamedThing <|-- ToolCalls
        click ToolCalls href "../ToolCalls/"
      NamedThing <|-- ToolCallResults
        click ToolCallResults href "../ToolCallResults/"
      NamedThing <|-- Type
        click Type href "../Type/"
      NamedThing <|-- BaseLM
        click BaseLM href "../BaseLM/"
      NamedThing <|-- Embedder
        click Embedder href "../Embedder/"
      NamedThing <|-- Cache
        click Cache href "../Cache/"
      NamedThing <|-- Provider
        click Provider href "../Provider/"
      NamedThing <|-- TrainingJob
        click TrainingJob href "../TrainingJob/"
      NamedThing <|-- ReinforceJob
        click ReinforceJob href "../ReinforceJob/"
      NamedThing <|-- Adapter
        click Adapter href "../Adapter/"
      NamedThing <|-- Module
        click Module href "../Module/"
      NamedThing <|-- Teleprompter
        click Teleprompter href "../Teleprompter/"
      NamedThing <|-- Evaluate
        click Evaluate href "../Evaluate/"
      NamedThing <|-- Metric
        click Metric href "../Metric/"
      NamedThing <|-- Dataset
        click Dataset href "../Dataset/"
      NamedThing <|-- DataLoader
        click DataLoader href "../DataLoader/"
      NamedThing <|-- Settings
        click Settings href "../Settings/"
      NamedThing <|-- Interpreter
        click Interpreter href "../Interpreter/"
      NamedThing <|-- StreamListener
        click StreamListener href "../StreamListener/"
      NamedThing <|-- DSPyError
        click DSPyError href "../DSPyError/"

      NamedThing : description

      NamedThing : id

      NamedThing : name

Inheritance

Slots

Name Cardinality and Range Description Inheritance
id 1
Identifier
Stable opaque identifier for an instance direct
name 0..1
String
Short human-readable name direct
description 0..1
String
Free-form description direct

Aliases

  • entity
  • artefact

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:NamedThing
native dspy:NamedThing
exact prov:Entity, ucs_core:NamedThing
close schema:Thing, nexus:Entity, mellea:NamedElement, uco_core:UcoThing

LinkML Source

Direct

name: NamedThing
description: Abstract base for any identifiable DSPy artefact. Every concrete class
  in this schema inherits from ``NamedThing`` so that it gains a stable identifier
  and human-readable label.
from_schema: https://w3id.org/lmodel/dspy
aliases:
- entity
- artefact
exact_mappings:
- prov:Entity
- ucs_core:NamedThing
close_mappings:
- schema:Thing
- nexus:Entity
- mellea:NamedElement
- uco_core:UcoThing
abstract: true
slots:
- id
- name
- description

Induced

name: NamedThing
description: Abstract base for any identifiable DSPy artefact. Every concrete class
  in this schema inherits from ``NamedThing`` so that it gains a stable identifier
  and human-readable label.
from_schema: https://w3id.org/lmodel/dspy
aliases:
- entity
- artefact
exact_mappings:
- prov:Entity
- ucs_core:NamedThing
close_mappings:
- schema:Thing
- nexus:Entity
- mellea:NamedElement
- uco_core:UcoThing
abstract: true
attributes:
  id:
    name: id
    description: Stable opaque identifier for an instance.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    owner: NamedThing
    domain_of:
    - NamedThing
    range: Identifier
    required: true
  name:
    name: name
    description: Short human-readable name.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: rdfs:label
    owner: NamedThing
    domain_of:
    - NamedThing
    - LMToolCallPart
    - LMMessage
    - LMToolSpec
    range: string
  description:
    name: description
    description: Free-form description.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: dct:description
    owner: NamedThing
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string