Cloudflare Workers AI service.
To use, you must provide an API token and account ID to access Cloudflare Workers AI, and pass it as a named parameter to the constructor.
Example:
.. code-block:: python
from langchain_community.llms.cloudflare_workersai import CloudflareWorkersAI
my_account_id = "my_account_id" my_api_token = "my_secret_api_token" llm_model = "@cf/meta/llama-2-7b-chat-int8"
cf_ai = CloudflareWorkersAI( account_id=my_account_id, api_token=my_api_token, model=llm_model )