openai langchain beautifulsoup4 anthropic backoff tiktoken dotenv