Skip to main content

Cloudflare

Cloudflare, Inc. (Wikipedia) is an American company that provides content delivery network services, cloud cybersecurity, DDoS mitigation, and ICANN-accredited domain registration services.

Cloudflare Workers AI allows you to run machine learning models, on the Cloudflare network, from your code via REST API.

LLMs

See installation instructions and usage example.

from langchain_community.llms.cloudflare_workersai import CloudflareWorkersAI
API Reference:CloudflareWorkersAI

Embedding models

See installation instructions and usage example.

from langchain_community.embeddings.cloudflare_workersai import CloudflareWorkersAIEmbeddings

Was this page helpful?