mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
6c07eb0c12
Adding `UpstashRatelimitHandler` callback for rate limiting based on number of chain invocations or LLM token usage. For more details, see [upstash/ratelimit-py repository](https://github.com/upstash/ratelimit-py) or the notebook guide included in this PR. Twitter handle: @cahidarda --------- Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com> |
||
---|---|---|
.. | ||
tracers | ||
__init__.py | ||
fake_callback_handler.py | ||
test_callback_manager.py | ||
test_imports.py | ||
test_openai_info.py | ||
test_streamlit_callback.py | ||
test_upstash_ratelimit_callback.py |