Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,49 @@
/workers/observability/baselime-integration/ /workers/observability/integrations/baselime-integration/ 301
/workers-ai/tutorials/image-generator-flux/ /workers-ai/tutorials/image-generation-playground/ 301

# Workers AI reorganization redirects
# Function calling
/workers-ai/function-calling /workers-ai/features/function-calling/ 301
/workers-ai/function-calling/ /workers-ai/features/function-calling/ 301
/workers-ai/function-calling/embedded/ /workers-ai/features/function-calling/embedded/ 301
/workers-ai/function-calling/embedded/get-started /workers-ai/features/function-calling/embedded/get-started 301
/workers-ai/function-calling/embedded/api-reference /workers-ai/features/function-calling/embedded/api-reference 301
/workers-ai/function-calling/embedded/examples/ /workers-ai/features/function-calling/embedded/examples/ 301
/workers-ai/function-calling/embedded/examples/kv /workers-ai/features/function-calling/embedded/examples/kv 301
/workers-ai/function-calling/embedded/examples/openapi /workers-ai/features/function-calling/embedded/examples/openapi 301
/workers-ai/function-calling/embedded/examples/fetch /workers-ai/features/function-calling/embedded/examples/fetch 301
/workers-ai/function-calling/embedded/examples/troubleshooting /workers-ai/features/function-calling/embedded/examples/troubleshooting 301
/workers-ai/function-calling/traditional/ /workers-ai/features/function-calling/traditional/ 301
/workers-ai/function-calling/ /workers-ai/features/function-calling/ 301

# JSON Mode
/workers-ai/json-mode /workers-ai/features/json-mode/ 301
/workers-ai/json-mode/ /workers-ai/features/json-mode/ 301

# Fine-tunes
/workers-ai/fine-tunes /workers-ai/features/fine-tunes/ 301
/workers-ai/fine-tunes/ /workers-ai/features/fine-tunes/ 301
/workers-ai/fine-tunes/public-loras /workers-ai/features/fine-tunes/public-loras 301
/workers-ai/fine-tunes/loras /workers-ai/features/fine-tunes/loras 301

# Prompting
/workers-ai/guides/prompting /workers-ai/features/prompting/ 301
/workers-ai/guides/prompting/ /workers-ai/features/prompting/ 301

# Platform section
/workers-ai/privacy /workers-ai/platform/privacy/ 301
/workers-ai/privacy/ /workers-ai/platform/privacy/ 301
/workers-ai/glossary /workers-ai/platform/glossary/ 301
/workers-ai/glossary/ /workers-ai/platform/glossary/ 301
/workers-ai/workers-ai-errors /workers-ai/platform/errors/ 301
/workers-ai/workers-ai-errors/ /workers-ai/platform/errors/ 301

# Guides section
/workers-ai/demos /workers-ai/guides/demos-architectures/ 301
/workers-ai/demos/ /workers-ai/guides/demos-architectures/ 301
/workers-ai/tutorials /workers-ai/guides/tutorials/ 301
/workers-ai/tutorials/ /workers-ai/guides/tutorials/ 301

# workflows

/workflows/reference/storage-options/ /workers/platform/storage-options/ 301
Expand Down Expand Up @@ -2024,6 +2067,11 @@
/workers/templates/pages/* /workers/examples/:splat 301
/workers/observability/logging/* /workers/observability/logs/:splat 301

# Workers AI
/workers-ai/demos/* /workers-ai/guides/demos-architectures/:splat 301
/workers-ai/tutorials/* /workers-ai/guides/tutorials/:splat 301


# Others
/ssl/custom-certificates/* /ssl/edge-certificates/custom-certificates/:splat 301
/logs/analytics-integrations/* /fundamentals/data-products/analytics-integrations/:splat 301
Expand Down
14 changes: 14 additions & 0 deletions src/content/docs/workers-ai/agents.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Agents
pcx_content_type: navigation
external_link: /agents/
sidebar:
order: 7
---

import { LinkButton } from "~/components"

<div style={{ textAlign: 'center', marginBottom: '2rem' }}>
<p>Build AI assistants that can perform complex tasks on behalf of your users using Cloudflare Workers AI and Agents.</p>
<LinkButton href="/agents/">Go to Agents documentation</LinkButton>
</div>
2 changes: 1 addition & 1 deletion src/content/docs/workers-ai/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Changelog
release_notes_file_name:
- workers-ai
sidebar:
order: 8
order: 9
head: []
description: Review recent changes to Cloudflare Workers AI.
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pcx_content_type: navigation
title: Fine-tunes
sidebar:
order: 5
order: 3

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pcx_content_type: navigation
title: Function calling
sidebar:
order: 5
order: 1
badge:
text: Beta
---
Expand Down
12 changes: 12 additions & 0 deletions src/content/docs/workers-ai/features/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
pcx_content_type: navigation
title: Features
sidebar:
group:
hideIndex: true
order: 4
---

import { DirectoryListing } from "~/components";

<DirectoryListing />
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pcx_content_type: navigation
title: JSON Mode
hideChildren: true
sidebar:
order: 5
order: 2
---

import { Code } from "~/components";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
pcx_content_type: navigation
pcx_content_type: concept
title: Prompting
hideChildren: true
sidebar:
order: 2
order: 4
---

import { Code } from "~/components";
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/workers-ai/get-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pcx_content_type: navigation
title: Getting started
sidebar:
order: 2
order: 1

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: CLI
title: Workers Bindings
pcx_content_type: get-started
sidebar:
order: 1
head:
- tag: title
content: Get started - CLI
content: Get started - Workers and Wrangler
description: Deploy your first Cloudflare Workers AI project using the CLI.
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
pcx_content_type: navigation
pcx_content_type: concept
title: Demos and architectures
hideChildren: true
sidebar:
order: 6

order: 2
---

import { ExternalResources, GlossaryTooltip, ResourcesBySelector } from "~/components"
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/workers-ai/guides/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pcx_content_type: navigation
sidebar:
group:
hideIndex: true
order: 2
order: 5
---

import { DirectoryListing } from "~/components";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pcx_content_type: navigation
title: Tutorials
hideChildren: true
sidebar:
order: 5
order: 3
---

import { GlossaryTooltip, ListTutorials } from "~/components";
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/workers-ai/models/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pcx_content_type: navigation
title: Models
hideChildren: true
sidebar:
order: 3
order: 2
---

import ModelCatalog from "~/pages/workers-ai/models/index.astro";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Errors
pcx_content_type: concept
sidebar:
order: 5
---

Below is a list of Workers AI errors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Glossary
pcx_content_type: glossary
sidebar:
order: 19
order: 4
---

import { Glossary } from "~/components";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Privacy
pcx_content_type: reference
sidebar:
order: 10
order: 2
head:
- tag: title
content: Your Data and Workers AI
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/workers-ai/playground.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ pcx_content_type: navigation
title: Playground
external_link: https://playground.ai.cloudflare.com
sidebar:
order: 2
order: 8

---
Loading