Configure the global prompt cache.
This should be called before any cache instances are created.
configureGlobalPromptCache(config: CacheConfig)| Name | Type | Description |
|---|---|---|
config* | CacheConfig | Cache configuration options |
import { configureGlobalPromptCache } from 'langsmith';
configureGlobalPromptCache({ maxSize: 200, ttlSeconds: 7200 });