Helper functions for marking parts of the LangChain API as beta.
This module was loosely adapted from matplotlib's _api/deprecation.py
module.
This module is for internal use only. Do not use it in your own code. We may change the API at any time with no warning.
Return whether the caller at depth of this function is internal.
Decorator to mark a function, a class, or a property as beta.
When marking a classmethod, a staticmethod, or a property, the @beta decorator
should go under @classmethod and @staticmethod (i.e., beta should directly
decorate the underlying callable), but over @property.
When marking a class C intended to be used as a base class in a multiple
inheritance hierarchy, C must define an __init__ method (if C instead
inherited its __init__ from its own base class, then @beta would mess up
__init__ inheritance when installing its own (annotation-emitting) C.__init__).
Context manager to suppress LangChainDeprecationWarning.
Display a standardized beta annotation.
Unmute LangChain beta warnings.
A class for issuing beta warnings for LangChain users.