You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/tests/unit_tests/callbacks
Cahid Arda Öz 6c07eb0c12
community[minor]: Add UpstashRatelimitHandler (#21885)
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>
4 months ago
..
tracers Delete V1 tracer and refactor tracer tests to core (#15326) 9 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
fake_callback_handler.py docs: fix some spelling mistakes caught by newest version of code spell (#22090) 4 months ago
test_callback_manager.py community[minor]: add bedrock anthropic callback for token usage counting (#19864) 6 months ago
test_imports.py community[minor]: Add UpstashRatelimitHandler (#21885) 4 months ago
test_openai_info.py community: Update costs of openai finetuned models (#22124) 4 months ago
test_streamlit_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_upstash_ratelimit_callback.py community[minor]: Add UpstashRatelimitHandler (#21885) 4 months ago