Home / Class/ ExponentialJitterParams Class — langchain Architecture

ExponentialJitterParams Class — langchain Architecture

Architecture documentation for the ExponentialJitterParams class in retry.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  5504a95d_2cd4_7e89_3f54_6644776e6554["ExponentialJitterParams"]
  4b1ae7cc_f0e0_3b9c_39b8_cde719e2067d["retry.py"]
  5504a95d_2cd4_7e89_3f54_6644776e6554 -->|defined in| 4b1ae7cc_f0e0_3b9c_39b8_cde719e2067d

Relationship Graph

Source Code

libs/core/langchain_core/runnables/retry.py lines 35–45

class ExponentialJitterParams(TypedDict, total=False):
    """Parameters for `tenacity.wait_exponential_jitter`."""

    initial: float
    """Initial wait."""
    max: float
    """Maximum wait."""
    exp_base: float
    """Base for exponential backoff."""
    jitter: float
    """Random additional wait sampled from random.uniform(0, jitter)."""

Frequently Asked Questions

What is the ExponentialJitterParams class?
ExponentialJitterParams is a class in the langchain codebase, defined in libs/core/langchain_core/runnables/retry.py.
Where is ExponentialJitterParams defined?
ExponentialJitterParams is defined in libs/core/langchain_core/runnables/retry.py at line 35.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free