Skip to content

Class: Image

Image content usable as an input/output field type (dspy.Image).

URI: dspy:Image

 classDiagram
    class Image
    click Image href "../Image/"
      Type <|-- Image
        click Type href "../Type/"

      Image : description

      Image : id

      Image : name

      Image : url

Inheritance

Slots

Name Cardinality and Range Description Inheritance
url 0..1
String
URL pointing at a remote payload direct
id 1
Identifier
Stable opaque identifier for an instance NamedThing
name 0..1
String
Short human-readable name NamedThing
description 0..1
String
Free-form description NamedThing

In Subsets

Identifier and Mapping Information

Annotations

property value
dspy_source_paths ['dspy/adapters/types/image.py']
dspy_source_urls ['https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/image.py']

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:Image
native dspy:Image
broad nexus:Modality
related ai:ImageRecognition, iso22989:DataModality

LinkML Source

Direct

name: Image
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/adapters/types/image.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/image.py
description: Image content usable as an input/output field type (``dspy.Image``).
in_subset:
- custom_types
from_schema: https://w3id.org/lmodel/dspy
related_mappings:
- ai:ImageRecognition
- iso22989:DataModality
broad_mappings:
- nexus:Modality
is_a: Type
slots:
- url

Induced

name: Image
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/adapters/types/image.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/image.py
description: Image content usable as an input/output field type (``dspy.Image``).
in_subset:
- custom_types
from_schema: https://w3id.org/lmodel/dspy
related_mappings:
- ai:ImageRecognition
- iso22989:DataModality
broad_mappings:
- nexus:Modality
is_a: Type
attributes:
  url:
    name: url
    description: URL pointing at a remote payload.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: schema:url
    owner: Image
    domain_of:
    - Image
    - Audio
    - File
    - Citation
    - Document
    - LMSourcePart
    - LMDocumentPart
    - LMCitationPart
    range: string
  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: Image
    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: Image
    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: Image
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string