---
title: Cloudflare
slug: /bundles-cloudflare
---

import Icon from "@site/src/components/icon";
import PartialParams from '@site/docs/_partial-hidden-params.mdx';

<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.

This page describes the components that are available in the **Cloudflare** bundle.

## Cloudflare Workers AI Embeddings

The **Cloudflare Workers AI Embeddings** component generates embeddings using [Cloudflare Workers AI models](https://developers.cloudflare.com/workers-ai/).

For more information about using embedding model components in flows, see [Embedding model components](/components-embedding-models).

### Cloudflare Workers AI Embeddings parameters

<PartialParams />

| Name | Display Name | Info |
|------|--------------|------|
| account_id | Cloudflare account ID | Input parameter. Your [Cloudflare account ID](https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/#find-account-id-workers-and-pages). |
| api_token | Cloudflare API token | Input parameter. Your [Cloudflare API token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/). |
| model_name | Model Name | Input parameter. A [supported model](https://developers.cloudflare.com/workers-ai/models/#text-embeddings) for embedding generation. |
| strip_new_lines | Strip New Lines | Input parameter. Whether to strip new lines from the input text. |
| batch_size | Batch Size | Input parameter. The number of texts to embed in each batch. |
| api_base_url | Cloudflare API base URL | Input parameter. The base URL for the Cloudflare API. |
| headers | Headers | Input parameter. Additional headers for the embedding generation API request. |