File size: 871 Bytes
7fec1b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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
```