omarsol's picture
a7df18eef3dc8fa23d69c379f84383a01376f2b8c132bbebf666d7cca140236a
7fec1b1 verified
raw
history blame
871 Bytes
# Cloudflare
>[Cloudflare, Inc. (Wikipedia)](https://en.wikipedia.org/wiki/Cloudflare) is an American company that provides
> content delivery network services, cloud cybersecurity, DDoS mitigation, and ICANN-accredited
> domain registration services.
>[Cloudflare Workers AI](https://developers.cloudflare.com/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](/docs/integrations/llms/cloudflare_workersai).
```python
from langchain_community.llms.cloudflare_workersai import CloudflareWorkersAI
```
## Embedding models
See [installation instructions and usage example](/docs/integrations/text_embedding/cloudflare_workersai).
```python
from langchain_community.embeddings.cloudflare_workersai import CloudflareWorkersAIEmbeddings
```