Slot: cache
Whether responses for this LM should be cached.
URI: dspy:cache
Applicable Classes
| Name |
Description |
Modifies Slot |
| BaseLM |
Abstract base class for DSPy language models (``dspy |
no |
| LM |
Concrete LiteLLM-backed language model (``dspy |
no |
Properties
Type and Range
Cardinality and Requirements
| Property |
Value |
| ### Slot Characteristics |
|
| Property |
Value |
| If Absent |
boolean(True) |
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
dspy:cache |
| native |
dspy:cache |
LinkML Source
name: cache
description: Whether responses for this LM should be cached.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
ifabsent: boolean(True)
domain_of:
- BaseLM
range: boolean