Skip to content

Commit bfed5f6

Browse files
authored
chore(langchain_v1): expose rate_limiters from langchain_core (#33305)
expose rate limiters from langchain core
1 parent a4c8bae commit bfed5f6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"""Base abstraction and in-memory implementation of rate limiters.
2+
3+
These rate limiters can be used to limit the rate of requests to an API.
4+
5+
The rate limiters can be used together with `BaseChatModel`.
6+
"""
7+
8+
from langchain_core.rate_limiters import BaseRateLimiter, InMemoryRateLimiter
9+
10+
__all__ = [
11+
"BaseRateLimiter",
12+
"InMemoryRateLimiter",
13+
]

0 commit comments

Comments
 (0)