docs: Update ordering of cloudflare integration examples in providers page (#30768)

Updated the ordering of cloudflare integrations and updated import
examples. Follow up from
https://github.com/langchain-ai/langchain/pull/30749
This commit is contained in:
amohan 2025-04-10 14:34:58 -05:00 committed by GitHub
parent 8f8fea2d7e
commit f70df01e01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,20 +8,12 @@
> 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
```
## ChatModels
See [installation instructions and usage example](/docs/integrations/chat/cloudflare_workersai).
```python
from langchain_cloudflare.chat_models import ChatCloudflareWorkersAI
from langchain_cloudflare import ChatCloudflareWorkersAI
```
## VectorStore
@ -29,7 +21,7 @@ from langchain_cloudflare.chat_models import ChatCloudflareWorkersAI
See [installation instructions and usage example](/docs/integrations/vectorstores/cloudflare_vectorize).
```python
from langchain_cloudflare.vectorstores import CloudflareVectorize
from langchain_cloudflare import CloudflareVectorize
```
## Embeddings
@ -37,5 +29,13 @@ from langchain_cloudflare.vectorstores import CloudflareVectorize
See [installation instructions and usage example](/docs/integrations/text_embedding/cloudflare_workersai).
```python
from langchain_cloudflare.embeddings import CloudflareWorkersAIEmbeddings
from langchain_cloudflare import CloudflareWorkersAIEmbeddings
```
## LLMs
See [installation instructions and usage example](/docs/integrations/llms/cloudflare_workersai).
```python
from langchain_community.llms.cloudflare_workersai import CloudflareWorkersAI
```