codekingpro/portable-devtools
114k
1"""Base abstraction and in-memory implementation of rate limiters.2 3These rate limiters can be used to limit the rate of requests to an API.4 5The rate limiters can be used together with `BaseChatModel`.6"""7 8from langchain_core.rate_limiters import BaseRateLimiter, InMemoryRateLimiter9 10__all__ = [11 "BaseRateLimiter",12 "InMemoryRateLimiter",13]14 