Class: ToolCalls
Container for the set of tool calls returned by the model (dspy.ToolCalls).
URI: dspy:ToolCalls
classDiagram
class ToolCalls
click ToolCalls href "../ToolCalls/"
NamedThing <|-- ToolCalls
click NamedThing href "../NamedThing/"
ToolCalls : description
ToolCalls : id
ToolCalls : name
ToolCalls : tool_calls
ToolCalls --> "*" LMToolCallPart : tool_calls
click LMToolCallPart href "../LMToolCallPart/"
Inheritance
- NamedThing
- ToolCalls
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| tool_calls | * LMToolCallPart |
Tool calls produced by the model | 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/tool.py'] |
| dspy_source_urls | ['https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/tool.py'] |
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:ToolCalls |
| native | dspy:ToolCalls |
LinkML Source
Direct
name: ToolCalls
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/adapters/types/tool.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/tool.py
description: Container for the set of tool calls returned by the model (``dspy.ToolCalls``).
in_subset:
- tooling
from_schema: https://w3id.org/lmodel/dspy
is_a: NamedThing
slots:
- tool_calls
Induced
name: ToolCalls
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/adapters/types/tool.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/tool.py
description: Container for the set of tool calls returned by the model (``dspy.ToolCalls``).
in_subset:
- tooling
from_schema: https://w3id.org/lmodel/dspy
is_a: NamedThing
attributes:
tool_calls:
name: tool_calls
description: Tool calls produced by the model.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: ToolCalls
domain_of:
- ToolCalls
range: LMToolCallPart
multivalued: true
inlined: true
inlined_as_list: true
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: ToolCalls
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: ToolCalls
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: ToolCalls
domain_of:
- NamedThing
- LMToolSpec
range: string