跳转到主要内容
本章内容66
-
01
Agents
import { LinkButton } from "~/components"
Build AI assistants that can perform complex tasks on behalf o...
1 天前
-
02
Changelog
import { ProductReleaseNotes } from "~/components";
{/* */}
1 天前
-
03
Cloudflare Workers AI
import {
CardGrid,
Description,
Feature,
LinkTitleCard,
Plan,
RelatedProduct,
Render,
LinkButton,
Flex,
} f...
1 天前
-
04
Extraction models
Extraction models turn information into specific values your application can use, such as an invoice total,...
1 天前
-
05
Concepts
import { DirectoryListing } from "~/components";
1 天前
-
06
Vercel AI SDK
import {
PackageManagers,
TypeScriptExample,
WranglerConfig,
} from "~/components";
To use Workers AI with ...
1 天前
-
07
Workers Bindings
import { Type, MetaInfo, WranglerConfig } from "~/components";
Workers
Workers provides a serverless execut...
1 天前
-
08
Hugging Face Chat UI
Use Workers AI with Chat UI, an open-source chat interface offered by Hugging Face.
Prerequisites
You will ...
1 天前
-
09
Configuration
import { DirectoryListing } from "~/components";
1 天前
-
10
OpenAI compatible API endpoints
import { Render } from "~/components";
Usage
Chat Completions and embeddings
Most Workers AI text generat...
1 天前
-
11
Pi AI
import {
PackageManagers,
TypeScriptExample,
WranglerConfig,
} from "~/components";
To use Workers AI with ...
1 天前
-
12
Features
import { DirectoryListing } from "~/components";
1 天前
-
13
JSON Mode
import { Code } from "~/components";
export const jsonModeSchema =
{ response_format: { title: "JSON Mode"...
1 天前
-
14
Prompt caching
Prompt caching (also called prefix caching) is a performance optimization that allows Workers AI to respond...
1 天前
-
15
Prompting
import { Code } from "~/components";
export const scopedExampleOne =
{ messages: [ { role: "system", conte...
1 天前
-
16
Reject busy requests
import { TypeScriptExample } from "~/components";
Set
rejectIfBusy when your application should not wait i...
1 天前
-
17
Asynchronous Batch API
import { Render, PackageManagers, WranglerConfig, CURL } from "~/components";
Asynchronous batch processing...
1 天前
-
18
REST API
If you prefer to work directly with the REST API instead of a Cloudflare Worker, below are the steps on how...
1 天前
-
19
Workers Binding
import {
Render,
PackageManagers,
TypeScriptExample,
WranglerConfig,
CURL,
} from "~/components";
You can u...
1 天前
-
20
Fine-tunes
import { Feature } from "~/components";
Learn how to use Workers AI to get fine-tuned inference.
Upload a L...
1 天前
-
21
Using LoRA adapters
import { APIRequest, TabItem, Tabs } from "~/components";
Workers AI supports fine-tuned inference with ada...
1 天前
-
22
Public LoRA adapters
import { APIRequest } from "~/components";
Cloudflare offers a few public LoRA adapters that can immediatel...
1 天前
-
23
Function calling
import { YouTube, TabItem, Tabs } from "~/components";
Function calling enables people to take Large Langua...
1 天前
-
24
Traditional
This page shows how you can do traditional function calling, as defined by industry standards. Workers AI a...
1 天前
-
25
API Reference
Learn more about the API reference for embedded function calling.
runWithTools
This wrapper method enables ...
1 天前
-
26
Get Started
import { TypeScriptExample, PackageManagers } from "~/components";
This guide will instruct you through set...
1 天前
-
27
Embedded
import { DirectoryListing } from "~/components"
Cloudflare has a unique embedded function calling feature t...
1 天前
-
28
Troubleshooting
This section will describe tools for troubleshooting and address common errors.
Logging
General logging cap...
1 天前
-
29
Use fetch() handler
A very common use case is to provide the LLM with the ability to perform API calls via function calling.
In...
1 天前
-
30
Examples
import { DirectoryListing } from "~/components";
1 天前
-
31
Use KV API
Interact with persistent storage to retrieve or store information enables for powerful use cases.
In this e...
1 天前
-
32
Tools based on OpenAPI Spec
Oftentimes APIs are defined and documented via OpenAPI specification. The Cloudflare
ai-utils package's
c...
1 天前
-
33
Conversion Options
By default, the
toMarkdown service extracts text content from your files. To further extend the capabiliti...
1 天前
-
34
How it works
When parsing files before converting them to Markdown, there are some cleanup tasks we do depending on the ...
1 天前
-
35
Markdown Conversion
Markdown is essential for text generation and large language models (LLMs) in training and inference becaus...
1 天前
-
36
Supported Formats
import { Render } from "~/components";
This list shows all rich-content formats that are currently supporte...
1 天前
-
37
Workers Binding
import { WranglerConfig, Type, TypeScriptExample } from "~/components";
Cloudflare’s serverless platform al...
1 天前
-
38
Usage
import { DirectoryListing } from "~/components";
1 天前
-
39
REST API
import { Type, MetaInfo } from "~/components";
You can also use the Markdown Conversion REST API to convert...
1 天前
-
40
Dashboard
import { Render, DashButton } from "~/components"
Follow this guide to create a Workers AI application usin...
1 天前
-
41
Getting started
import { DirectoryListing } from "~/components"
There are several options to build your Workers AI projects...
1 天前
-
42
REST API
import { DashButton } from "~/components";
This guide will instruct you through setting up and deploying yo...
1 天前
-
43
Workers Bindings
import { Render, PackageManagers, WranglerConfig, TypeScriptExample } from "~/components";
This guide will ...
1 天前
-
44
Demos and architectures
import { GlossaryTooltip, ResourcesBySelector } from "~/components";
Workers AI can be used to build dynami...
1 天前
-
45
Guides
import { DirectoryListing } from "~/components";
1 天前
-
46
Build a Retrieval Augmented Generation (RAG) AI
import { Details, Render, PackageManagers, WranglerConfig } from "~/components";
This guide will instruct y...
1 天前
-
47
Whisper-large-v3-turbo with Cloudflare Workers AI
In this tutorial you will learn how to:
Transcribe large audio files: Use the Whisper-large-v3-turbo model ...
1 天前
-
48
Explore Code Generation Using DeepSeek Coder Models
import { YouTube } from "~/components"
A handy way to explore all of the models available on Workers AI is ...
1 天前
-
49
Explore Workers AI Models Using a Jupyter Notebook
import { YouTube } from "~/components";
A handy way to explore all of the models available on Workers AI is...
1 天前
-
50
Fine Tune Models With AutoTrain from HuggingFace
Fine tuning an AI model gives you the opportunity to add additional training data to the model. Workers AI ...
1 天前
-
51
Choose the Right Text Generation Model
import { YouTube } from "~/components"
A great way to explore the models that are available to you on Worke...
1 天前
-
52
Tutorials
import { GlossaryTooltip, ListTutorials, Render } from "~/components";
View tutorials to help you get start...
1 天前
-
53
Llama 3.2 11B Vision Instruct model on Cloudflare Workers AI
import { Details, Render, PackageManagers, WranglerConfig } from "~/components";
Prerequisites
Before you b...
1 天前
-
54
Using BigQuery with Workers AI
import { WranglerConfig } from "~/components";
The easiest way to get started with Workers AI is to try it ...
1 天前
-
55
Add New AI Models to your Playground (Part 2)
import { Details, DirectoryListing, YouTube } from "~/components";
In part 2, Kristian expands upon the exi...
1 天前
-
56
Build an AI Image Generator Playground (Part 1)
import { Details, DirectoryListing, YouTube } from "~/components";
The new flux models on Workers AI are ou...
1 天前
-
57
Store and Catalog AI Generated Images with R2 (Part 3)
import { Details, DirectoryListing, YouTube } from "~/components";
In the final part of the AI Image Playgr...
1 天前
-
58
How to Build an Image Generator using Workers AI
import { Details, DirectoryListing, Stream } from "~/components";
In this series of videos, Kristian Freema...
1 天前
-
59
Workers AI Models
import WorkersAIModelCatalog from "~/components/models/WorkersAIModelCatalog.astro";
1 天前
-
60
Data usage
Cloudflare processes certain customer data to provide Workers AI, subject to our Privacy Policy and, as app...
1 天前
-
61
Errors
Below is a list of Workers AI errors.
Name
Internal Code
HTTP Code
Description
No such model
5007
400
No su...
1 天前
-
62
Event subscriptions
import { Render } from "~/components";
Available Workers AI events
1 天前
-
63
Glossary
import { Glossary } from "~/components";
Review the definitions for terms used across Cloudflare's Workers ...
1 天前
-
64
Platform
import { DirectoryListing } from "~/components";
1 天前
-
65
Limits
import { Render } from "~/components";
Workers AI is now Generally Available. We've updated our rate limits...
1 天前
-
66
Pricing
:::note
Workers AI has updated pricing to be more granular, with per-model unit-based pricing presented, bu...
1 天前