import { ... } from "langsmith";Global singleton instance of PromptCache. Use configureGlobalPromptCache(), enableGlobalPromptCache(), or disableGlobalPromptCache() instead.
Overrides the fetch implementation used for LangSmith calls. You should use this if you need to use an implementation of fetch other than the default global (e.g. for dealing with proxies).
Generate a UUID v7 from a timestamp.
Configure the global prompt cache.
This should be called before any cache instances are created.
Generate a random UUID v7 string.
LRU cache with background refresh for prompts.
Features:
A run can represent either a trace (root run) or a child run (~span).
Configuration options for Cache.
Cache performance metrics.
Describes properties of a run when loaded from the database. Extends the BaseRun interface.