LangChain ↗ is the most popular framework for building AI applications powered by large language models (LLMs).
LangChain publishes multiple Python packages. The following are provided by the Workers runtime:
Clone the cloudflare/python-workers-examples
repository and run the LangChain example: