From c16e078fb4ae42acf3ee4e628ea6ff9f760c011a Mon Sep 17 00:00:00 2001 From: Melinda Moreland Date: Thu, 16 Jul 2026 15:54:54 -0700 Subject: [PATCH] docs: rename copilot section to C1AI, fix stale button labels The function-editor AI entry point now opens the shared C1AI assistant rather than a dedicated copilot, and the actual button labels are "Create with Functions assistant" / "Edit with Functions assistant", not "Create with AI" / "Edit with AI". --- product/admin/functions-create.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/admin/functions-create.mdx b/product/admin/functions-create.mdx index 5214bcf2..35db210e 100644 --- a/product/admin/functions-create.mdx +++ b/product/admin/functions-create.mdx @@ -14,11 +14,11 @@ sidebarTitle: "Create and test functions" This guide walks you through creating your first function, from a simple "hello world" to accessing C1 data and calling external APIs. -## Use the copilot to write function code +## Use C1AI to write function code -Not sure where to start with TypeScript or the C1 API? The built-in AI code assistant can generate a working function from a plain-language description of what you want it to do — no TypeScript expertise required. Since functions start as drafts, you can try out the generated code, run it, and iterate safely before publishing. +Not sure where to start with TypeScript or the C1 API? C1AI can generate a working function from a plain-language description of what you want it to do — no TypeScript expertise required. Since functions start as drafts, you can try out the generated code, run it, and iterate safely before publishing. -To get started, click **Create with AI** when creating a new function, or click **Edit with AI** in the code editor of an existing function draft. Describe what you want your function to do, and the AI assistant will generate code to get you started. You can then edit the code as needed, run it with test inputs, and publish when you're ready. +To get started, click **Create with Functions assistant** when creating a new function, or click **Edit with Functions assistant** in the code editor of an existing function draft. Describe what you want your function to do, and C1AI will generate code to get you started. You can then edit the code as needed, run it with test inputs, and publish when you're ready. ## Step 1: Set up a new function