You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: also consider https://pypi.org/project/openai-ratelimiter/ openai-ratelimiter is a simple and efficient rate limiter for the OpenAI API. It is designed to help prevent the API rate limit from being reached when using the OpenAI library. Currently, it supports only Redis as the caching service.
# tiktoken is a fast BPE tokeniser for use with OpenAI's models.
tiktoken~=0.5.1
# Tenacity is a general-purpose retrying library to simplify the task of adding retry behavior to just about anything.