Code Velocity
开发者工具

自定义 GPTs:创建和编辑您的 AI 助手

·8 分钟阅读·OpenAI·原始来源
分享
ChatGPT 界面展示了自定义 GPTs 的创建和编辑过程,其中包含各种配置选项。

自定义 GPTs:创建和编辑您的个性化 AI 助手

在快速发展的人工智能领域,个性化工具正变得不可或缺。OpenAI 在 ChatGPT 中推出的自定义 GPTs 提供了一种革命性的方式,能够根据特定需求定制 AI,将强大的语言模型转变为专业的助手。本指南由 Code Velocity 呈献,深入探讨了创建、配置、测试和管理您自己的自定义 GPTs 的全面过程,确保您能够充分发挥它们的潜力。

关于模型可用性的说明: 截至 2026 年 2 月 13 日,包括 GPT-4o、GPT-4.1、GPT-4.1 mini、OpenAI o4-mini 和 GPT-5 (Instant and Thinking) 在内的多个基础模型已从 ChatGPT 中退役,不再普遍可用。虽然 API 访问保持独立,但这些模型不再适用于新的自定义 GPTs。ChatGPT Business、Enterprise 和 Edu 客户将在 2026 年 4 月 3 日之前在自定义 GPTs 中保留对 GPT-4o 的访问权限,此后该模型将完全退役。创作者应使用最新可用的模型来规划其 GPTs。

释放自定义 AI:ChatGPT GPTs 的力量

自定义 GPTs 代表了使 AI 更易于访问和更具目的性的重大飞跃。您现在可以创建专门用于执行特定功能的数字助手,无论是起草营销文案、总结复杂文档,还是充当专业导师,而不再仅仅依赖通用 AI。这一能力大大减少了重复性任务所需的工作量,并开辟了创新的新途径。

目前,构建和编辑这些自定义 AI 代理的能力仅限于 ChatGPT 的网页版体验。虽然移动应用程序允许用户与现有 GPTs 交互,但创建和微调过程仍需在桌面端进行。这一强大功能主要面向付费 ChatGPT 订阅者,包括拥有 Plus、Team、Enterprise 或 Edu 计划的用户。对于托管工作空间中的用户,GPT 创建和编辑的访问权限受管理员权限限制,以确保在组织设置中的受控和安全部署。

开始:创建您的第一个自定义 GPT

创建您自己的自定义 AI 助手之旅始于 ChatGPT 内的专用 GPTs 区域。

  1. 从 ChatGPT 侧边栏导航到探索 GPTs,或直接访问 https://chatgpt.com/gpts
  2. 选择创建选项以启动直观的 GPT 构建器界面。
  3. 然后您将看到两种不同的创建路径:
    • 对话式构建器: 适合初学者,此模式允许您用自然语言描述您想要的 GPT,ChatGPT 的 AI 将协助起草初始配置。
    • 配置视图: 对于经验丰富的用户,此视图提供对所有设置的直接访问,允许对 GPT 的每个参数进行精确的手动调整。

塑造您的 GPT 角色:核心配置设置

自定义 GPT 的有效性取决于其细致的配置。这些设置决定了您的 AI 如何向用户呈现、如何理解和响应查询以及其整体风范。

名称、描述和对话启动器 这些面向用户的元素对于可发现性和用户采用至关重要。

  • 名称: 这是您的 GPT 的公开标题。清晰、具体的名称有助于用户在搜索结果、GPT 商店和共享链接中立即了解其用途。
  • 描述: 简明扼要的摘要,解释了 GPT 的目的、目标受众以及它擅长的任务类型。这会出现在预览和列表中,充当‘电梯演讲’。
  • 对话启动器: 这些是用户首次打开您的 GPT 时显示的示例提示。有价值、真实的启动器对于引导用户和展示 GPT 的预期用途至关重要,有助于他们启动有意义的交互。

指令:您的自定义 AI 的大脑 指令是您的 GPT 的核心指导系统,定义了其行为、响应风格和操作指南。它们应用于每次对话,塑造 AI 的语气、决策和结构化方法。要更深入地了解如何指导 AI 行为,请探索 OpenAI API 提示工程最佳实践

  • 编写有效指令:
    • 对于多步骤流程,使用明确的结构,例如‘当 X 发生时 → 执行 Y’,并用清晰的分隔符分隔各个部分。
    • 优先使用积极、具体的命令(‘执行 X’),而不是冗长的禁止列表(‘不要做 Y’)。
    • 如果您的 GPT 需要特定的定义或分类,请提供可接受和不可接受输出的简短示例。
    • 利用标题和列表使优先级和程序步骤在视觉上清晰,并易于 AI 解析。

以下是您的自定义 GPT 的关键配置选项摘要:

功能描述最佳实践
名称您的 GPT 的主要标识符和公开标题。保持清晰、简洁,并能描述 GPT 的核心功能。
描述简要概述 GPT 的目的和目标用例。突出其独特的价值主张和主要辅助任务,确保在列表中引人注目。
对话启动器预定义的示例提示,指导用户如何交互。提供 3-4 个多样化、高影响力的提示,展示 GPT 的功能和典型用例。
指令详细指导,规定 GPT 的行为、语气和操作逻辑。使用结构化命令、积极肯定和清晰示例。优先使用带有视觉格式(标题、列表)的明确多步骤工作流。
知识包含 GPT 可参考资料的上传文件(最多 20 个文件,每个 512MB)。保留用于事实内容、文档或内部指南。首选文本型文件,并指示 GPT 在必要时引用或引述。与行为指令区分开来。
推荐模型为 GPT 指定一个首选的基础 AI 模型,以便向用户推荐。选择最符合 GPT 性能需求的模型。如果用户无法使用该模型,将选择一个类似的模型。
功能扩展 GPT 功能的内置特性,例如网页搜索、图像生成、数据分析或外部应用程序。仅启用增强 GPT 特定功能的相关功能。注意用户应用程序连接和权限。
操作连接到外部 API 的自定义连接,用于检索数据或在其他系统中触发工作流。当需要与外部系统直接交互时使用。请记住,GPTs 可以使用应用程序(通过功能)或操作,但不能同时使用两者。详细设置至关重要。

赋能您的 GPT:知识、功能和高级操作

除了基本指令,自定义 GPTs 还可以通过外部信息和集成功能得到增强,使其成为真正多功能的工具。

知识:您的 GPT 的参考库 ‘知识’部分允许您上传文件,从而有效地为您的 GPT 创建一个自定义数据库。这非常适合文档、内部手册、研究论文或特定数据集等参考资料。与管理行为的指令不同,知识文件为 GPT 的响应提供了事实基础。在集成外部知识来源时,了解 您的数据如何用于提高模型性能 至关重要。

  • 文件规格: 您最多可以附加 20 个文件,每个文件最大 512 MB。GPTs 支持多种文件类型,但可用性可能取决于模型以及是否启用了‘代码解释器和数据分析’功能。
  • 知识文件的最佳实践:
    • 将知识用于事实内容,而非行为规则。
    • 优先选择清晰、以文本为主的文档;复杂的布局可能会阻碍 AI 理解。
    • 如果引文很重要,请指示 GPT 以指定格式引用上传的内容。
    • 始终在预览模式下测试您的 GPT 如何利用这些知识。

推荐模型: 此设置允许您在用户与您的 GPT 启动新对话时,向他们推荐一个特定的底层 AI 模型。这有助于引导用户选择最适合您的 GPT 设计的模型,尽管如果其他模型可用,用户仍然可以切换模型。

功能:扩展内置特性 功能通过激活内置功能来扩展您的 GPT 的原生能力。这些特性的可用性可能因您的账户、工作空间和地区而异。

  • 网页搜索: 使 GPT 能够从互联网检索最新信息。
  • 图像生成: 允许 GPT 根据文本提示创建图像。
  • Canvas: 支持起草、编辑和完善较长或结构化内容。
  • 代码解释器和数据分析: 使 GPT 能够执行计算、分析数据并生成图表。
  • 应用程序: 连接到用户已链接到其 ChatGPT 账户的外部工具和服务,实现更广泛的集成。

操作:连接外部世界 操作为您的 GPT 提供了一个强大的机制,使其能够与外部 API 交互。当您的 GPT 需要从第三方系统检索实时数据或在其他应用程序中触发工作流时,这一点至关重要。例如,一个 GPT 可以使用操作来检查库存、预订约会或与 CRM 交互。

  • 区别: 一个关键点是,GPT 可以使用应用程序(通过功能)或操作,但不能同时使用两者。这需要仔细考虑您的集成策略。
  • 设置: 操作需要详细的设置和配置,通常涉及 API 模式定义,以确保与外部系统的无缝通信。

优化和管理您的自定义 GPT

创建 GPT 是一个迭代过程。严格的测试和有效的管理是确保其性能和持久性的关键。

测试您的 GPT: 在公开或广泛分享您的自定义 GPT 之前,彻底测试至关重要。GPT 构建器中内置的预览模式允许您模拟真实对话。使用此功能可以:

  • 尝试各种提示以评估语气和准确性。
  • 验证您的指令是否始终如一地被遵循。
  • 确认知识文件按预期被利用。
  • 根据测试结果完善指令和配置。通常,澄清指令比添加更多工具来解决问题更有效。

保存、更新和版本历史: GPT 构建器会自动将您的更改保存为草稿,在创建过程中提供安心保障。

  • 创建新 GPT 时,选择创建以完成它。
  • 对于现有 GPTs,使用更新来应用您最新的草稿更改。
  • 版本历史: 通过编辑器中的更多选项菜单 (•••) 访问的宝贵功能,版本历史允许您查看和恢复您的 GPT 的先前版本。这对于恢复到稳定配置或分析随时间的变化特别有用。(注意:如果恢复使用操作的旧版本,您可能需要重新配置身份验证。)

管理或编辑现有 GPT: 要修改您已创建的 GPT:

  1. 在 ChatGPT 中转到探索 GPTs,然后选择我的 GPTs
  2. 选择您希望更新的 GPT。
  3. 点击编辑 GPT。 另外,如果您正在与一个 GPT 聊天,您可以访问其菜单并选择编辑 GPT

在编辑器中,您拥有全面的控制权:

  • 直接更改 GPT 的配置。
  • 使用分享选项来控制访问设置。
  • 更多选项菜单 (•••) 提供了复制 GPT 链接、查看版本历史、为新项目复制 GPT 或完全删除它(取决于权限)的工具。

自定义 GPTs 带来个性化 AI 的未来

自定义 GPTs 标志着个人和组织与 AI 交互方式的范式转变。通过实现深度个性化,OpenAI 赋能用户超越通用响应,转向高度专业化和高效的 AI 助手。从自动化客户支持查询到协助复杂研究,其应用无限。随着这些工具的持续发展,我们可以期待更复杂的集成和功能,进一步巩固它们在我们数字生活中不可或缺的地位。创建、完善和部署这些智能代理的能力将高级 AI 的力量直接交到用户手中,为前所未有的创新铺平道路。

常见问题

What are custom GPTs in ChatGPT and who can create them?
Custom GPTs are personalized versions of ChatGPT tailored for specific tasks, topics, or interactions. They allow users to imbue the AI with specific instructions, knowledge bases, and capabilities to streamline workflows, provide specialized information, or automate repetitive tasks. Creating and editing GPTs is primarily available to paid ChatGPT users (e.g., Plus, Team, Enterprise, Edu) via the web experience. Users in managed workspaces may also create GPTs if they have been granted the necessary permissions by their administrators. Mobile apps currently support using GPTs but not building or editing them.
What is the key difference between 'Instructions' and 'Knowledge' in GPT configuration?
Instructions define the fundamental behavior, tone, and decision-making logic of your GPT. They are explicit rules and guidelines applied to every conversation, dictating how the AI should respond and what it should prioritize or avoid. For example, instructions might specify a persona or a multi-step workflow. In contrast, 'Knowledge' refers to specific files (documents, spreadsheets, etc.) that you upload to provide the GPT with reference material. This allows the GPT to draw factual information from these sources to answer questions or generate content, acting as its custom database. While instructions dictate *how* the GPT behaves, knowledge provides the *what* – the specific information it can access.
How do 'Capabilities' and 'Actions' expand a custom GPT's functionality?
Capabilities are built-in features that extend the GPT's native functionality, such as Web Browsing for up-to-date information, Image Generation for visual content, Code Interpreter & Data Analysis for computations, or Canvas for structured content drafting. These are generally features inherent to the ChatGPT ecosystem. Actions, on the other hand, enable your GPT to connect to external APIs and systems. This allows the GPT to retrieve real-time data from third-party services, interact with external databases, or trigger workflows in other applications. A key distinction is that a GPT can utilize either Capabilities (which include 'Apps' that use user-connected tools) or Actions, but not both simultaneously, offering different avenues for external integration.
What is the importance of testing your GPT before sharing or publishing?
Thoroughly testing your GPT using the built-in 'Preview' mode is a critical step before making it public or sharing it broadly. This allows you to simulate real-world interactions, identify potential issues with your instructions or knowledge integration, and verify the GPT's tone and accuracy. By inputting various prompts and observing the responses, you can refine your configuration, tighten instructions, and ensure the GPT behaves as intended. Early testing helps to catch errors, improve user experience, and prevent unexpected outcomes, ultimately leading to a more robust and effective custom AI assistant.
Are older GPT models still available for custom GPT creation?
As of February 13, 2026, several older OpenAI models, including GPT-4o, GPT-4.1, GPT-4.1 mini, OpenAI o4-mini, and GPT-5 (Instant and Thinking), have been retired from general availability within ChatGPT for custom GPT creation. While API access for these models might remain unchanged, they are no longer selectable options for new or existing custom GPTs in the consumer-facing ChatGPT platform. ChatGPT Business, Enterprise, and Edu customers may have temporary extended access to GPT-4o within Custom GPTs until April 3, 2026, after which it will be fully retired across all plans. This means creators should now design and optimize their custom GPTs using the latest available models.
How can I manage and update an existing custom GPT?
Managing and updating your custom GPTs is a straightforward process. To edit a GPT you've created, navigate to the 'Explore GPTs' section in ChatGPT, select 'My GPTs,' and then choose the specific GPT you wish to modify. From there, select 'Edit GPT.' During editing, changes are automatically saved as a draft. When you're satisfied with your modifications, click 'Update' to apply them. The editor also provides options to share the GPT, access its version history to revert to previous configurations, duplicate it, or delete it entirely, depending on your permissions. This comprehensive management interface ensures continuous refinement and control over your personalized AI assistants.

保持更新

将最新AI新闻发送到您的收件箱。

分享