Class: LMPromptCacheConfig
Provider-side prompt/token cache controls (call still happens; backend may reuse prefix state).
classDiagram
class LMPromptCacheConfig
click LMPromptCacheConfig href "../LMPromptCacheConfig/"
LMPromptCacheConfig : cache_key
LMPromptCacheConfig : enabled
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| enabled | 0..1 Boolean |
direct | |
| cache_key | 0..1 String |
Prompt cache key | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| LMConfig | prompt_cache_config | range | LMPromptCacheConfig |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:LMPromptCacheConfig |
| native | dspy:LMPromptCacheConfig |
LinkML Source
Direct
name: LMPromptCacheConfig
description: Provider-side prompt/token cache controls (call still happens; backend
may reuse prefix state).
in_subset:
- lm_contract
- clients
from_schema: https://w3id.org/lmodel/dspy
slots:
- enabled
- cache_key
Induced
name: LMPromptCacheConfig
description: Provider-side prompt/token cache controls (call still happens; backend
may reuse prefix state).
in_subset:
- lm_contract
- clients
from_schema: https://w3id.org/lmodel/dspy
attributes:
enabled:
name: enabled
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: LMPromptCacheConfig
domain_of:
- LMCacheConfig
- LMPromptCacheConfig
range: boolean
cache_key:
name: cache_key
description: Prompt cache key.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: LMPromptCacheConfig
domain_of:
- LMPromptCacheConfig
range: string