Slot: interpreter_kind
Concrete code interpreter implementation (matches an InterpreterKind value).
URI: dspy:interpreter_kind
Applicable Classes
| Name |
Description |
Modifies Slot |
| ProgramOfThought |
Tool-using predictor that emits and executes Python code (``dspy |
no |
| CodeAct |
Code-acting agent (``dspy |
no |
| Interpreter |
Abstract code interpreter used by ProgramOfThought and CodeAct |
no |
| PythonInterpreter |
Local in-process Python REPL (``dspy |
yes |
| CodeInterpreter |
Sandboxed code interpreter (``dspy |
yes |
Properties
Type and Range
Cardinality and Requirements
| Property |
Value |
| Required |
Yes |
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
dspy:interpreter_kind |
| native |
dspy:interpreter_kind |
LinkML Source
name: interpreter_kind
description: Concrete code interpreter implementation (matches an ``InterpreterKind``
value).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- ProgramOfThought
- CodeAct
- Interpreter
range: string
required: true