Class: DataLoader
Pluggable loader that materializes HuggingFace / pandas data into Examples (dspy.DataLoader).
URI: dspy:DataLoader
classDiagram
class DataLoader
click DataLoader href "../DataLoader/"
NamedThing <|-- DataLoader
click NamedThing href "../NamedThing/"
DataLoader : description
DataLoader : id
DataLoader : name
Inheritance
- NamedThing
- DataLoader
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| 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/datasets/dataloader.py'] |
| dspy_source_urls | ['https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/dataloader.py'] |
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:DataLoader |
| native | dspy:DataLoader |
LinkML Source
Direct
name: DataLoader
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/datasets/dataloader.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/dataloader.py
description: Pluggable loader that materializes HuggingFace / pandas data into Examples
(``dspy.DataLoader``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: NamedThing
Induced
name: DataLoader
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/datasets/dataloader.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/dataloader.py
description: Pluggable loader that materializes HuggingFace / pandas data into Examples
(``dspy.DataLoader``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: NamedThing
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: DataLoader
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: DataLoader
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: DataLoader
domain_of:
- NamedThing
- LMToolSpec
range: string