openai langchain beautifulsoup4 anthropic backoff tiktoken python-dotenv gradio