langchain.utilities.portkey.Portkey¶
class langchain.utilities.portkey.Portkey[source]¶
Portkey configuration.
base¶
The base URL for the Portkey API.
Default: “https://api.portkey.ai/v1/proxy”
Attributes
base
Methods
Config(api_key[, trace_id, environment, ...])
__init__()
static Config(api_key: str, trace_id: Optional[str] = None, environment: Optional[str] = None, user: Optional[str] = None, organisation: Optional[str] = None, prompt: Optional[str] = None, retry_count: Optional[int] = None, cache: Optional[str] = None, cache_force_refresh: Optional[str] = None, cache_age: Optional[int] = None) → Dict[str, str][source]¶
__init__()¶
Examples using Portkey¶
Log, Trace, and Monitor
Portkey