免费的 GPT-4 Turbo 香不香?Coze 扣子海外版、中文版双发,深度评测 + 手把手教程 | 回到Axton

人工智能 | ChatGPT & AIGC
2 Feb 202426:40

Summary

TLDRIn this video, Axton introduces Coze, an AI platform by ByteDance, allowing users to create bots with GPT-4 Turbo without coding. He demonstrates creating a knowledge base assistant and a multi-agent chatbot, showcasing Coze's capabilities and ease of use. Despite some documentation gaps, Coze's strength lies in its simplicity and the free access to advanced AI models. Axton also explores Coze's integration with social platforms and speculates on its future development direction, inviting viewers to join AI Elite Academy for more insights.

Takeaways

  • 🚀 Coze is a one-stop AI platform developed by ByteDance for the overseas market, allowing users to create AI applications without coding.
  • 🌐 The Chinese version of Coze, Coze.cn, uses a different model called the 'Lark Model' and is not suitable for users seeking free access to GPT-4.
  • 🔍 Coze.com offers a variety of models including GPT-4 Turbo with 128K context, which is a significant attraction for users.
  • 🤖 Users can create bots with Coze that are enhanced by plugins, workflows, and knowledge bases to perform complex tasks.
  • 📚 Knowledge bases in Coze can be created from various sources including local documents, URLs, and databases like Notion.
  • 🔗 Plugins in Coze are akin to GPT's Actions, Zapier's Apps, or Make's automation tools, offering functionalities like web searches and image recognition.
  • 🛠️ Workflows in Coze allow bots to automate tasks, with support for language models, code execution, and conditional branching.
  • 📈 Coze also introduces a database feature for bots to store structured information, enhancing the bot's memory capabilities.
  • 🔑 Coze's interface is straightforward, with sections for creating bots, accessing a marketplace, and managing personal space.
  • 📝 The process of creating a bot in Coze involves setting up prompts, adding plugins and workflows, configuring knowledge bases, and defining variables.
  • 🔄 The script demonstrates creating a knowledge base bot and a multi-agent bot, highlighting the platform's capabilities and potential.

Q & A

  • What is Coze, and who developed it?

    -Coze is a one-stop AI development platform developed by ByteDance for the overseas market. It allows users to create AI applications that support knowledge bases, workflows, and multiple agents without programming.

  • What are the primary functions of Coze?

    -Coze's primary functions include creating chatbots, integrating plugins to extend their capabilities, setting up workflows for automated tasks, and utilizing knowledge bases for information retrieval.

  • What models does Coze support?

    -Coze supports models such as OpenAI's GPT-4 Turbo (with 128K context), GPT-4 (8K context), and GPT-3.5 (16K context).

  • What is the difference between single-agent and multi-agent modes in Coze?

    -In single-agent mode, the chatbot operates with one AI agent, handling all interactions collectively, suitable for complex tasks. In multi-agent mode, multiple smaller AI agents handle different interactions independently, which is ideal for personalized tasks.

  • How can you add knowledge to a Coze chatbot?

    -You can add knowledge to a Coze chatbot by creating a knowledge base and uploading content such as local documents, URLs, Notion pages, and CSV files.

  • What are some of the plugins available in Coze?

    -Available plugins in Coze include tools for Google search, DALL.E 3 for image generation, GPT-4V for image recognition, GitHub integration, Google Scholar, and news searches.

  • How does Coze handle database integration?

    -Coze allows users to create databases within their chatbots, adding structured information like book details, links, and notes. Users can add and query these records via natural language or SQL commands.

  • What are some of the unique advantages of Coze?

    -Coze's advantages include its user-friendly interface, the ability to create sophisticated AI chatbots without programming, and the provision of free access to advanced models like GPT-4 Turbo.

  • What potential issues did the speaker encounter with Coze?

    -The speaker encountered issues with the database functionality in Coze, noting discrepancies between the preview environment and the live environment, where the database appeared empty after deployment.

  • What is the significance of Coze's integration with domestic social platforms?

    -Coze's integration with domestic social platforms like Feishu and WeChat public accounts highlights its advantage in connecting with local Chinese platforms, which can be a limitation for other automation tools like Make and Zapier.

Outlines

00:00

🤖 Introduction to Coze AI Platform

The script introduces Coze, an AI platform by ByteDance, which allows users to create AI applications without coding. It highlights the platform's ability to integrate plugins, workflows, and knowledge bases into bots. The platform's international version is preferred for its GPT-4 Turbo model, while the Chinese version uses a different model called the 'Lark' model. The script also mentions the platform's limitations regarding regional access and provides a brief tutorial on creating a basic bot.

05:03

🛠 Exploring Coze's Features and Bot Creation

This paragraph delves into the features of Coze, such as the ability to add plugins like DALL·E 3 for image generation and GPT-4V for image recognition. It also covers the creation of workflows for complex tasks and the integration of knowledge bases and databases to enhance bot capabilities. The script provides a step-by-step guide on creating a bot named 'Axton' and discusses the process of adding skills and configuring memory elements like knowledge bases and variables.

10:06

📚 Creating and Utilizing Knowledge Bases

The script explains how to create a knowledge base in Coze by adding units through various methods, including text from URLs and tables from CSV files. It demonstrates the process of uploading a CSV file containing video titles and URLs, configuring the knowledge base, and integrating it with the bot for retrieving information. The importance of indexing for efficient search within the knowledge base is also emphasized.

15:07

🔗 Database Integration and Bot Testing

The paragraph discusses the integration of a database into the bot for more structured information storage. It describes the process of creating a database table, defining fields, and populating it with records using natural language commands. The script also includes testing the bot's knowledge base functionality by asking questions and receiving answers with source links, noting a discrepancy in the provided link.

20:07

📱 Publishing Bots to Social Media Platforms

This section outlines the process of publishing a created bot to social media platforms like Discord. It details the steps for configuring the bot with a Token, creating a Change Log, and successfully publishing the bot to a Discord server. The script also explores the bot's capabilities in handling database operations within the Discord environment.

25:08

🔄 Multi-Agent Bot Interaction and Limitations

The script introduces the concept of multi-agent bots in Coze, where each agent acts as a separate AI with isolated conversations. It discusses the jump conditions that allow switching between agents based on user input and notes the limitations in the current documentation, which can lead to inefficiencies in utilizing advanced features. The paragraph concludes with a demonstration of agent interaction and the peculiar behavior observed when setting up cyclic connections between agents.

🌟 Coze Platform Summary and Future Outlook

The final paragraph summarizes the advantages of Coze, such as its ease of creating bots and the free access to GPT-4 models. It also touches on the potential for users to create their own plugins and speculates on the platform's future development direction, whether it will lean towards pure AI or an automation platform like Make and Zapier. The script highlights Coze's integration capabilities with domestic social platforms and invites viewers to join an AI academy for further learning.

Mindmap

Keywords

💡Coze

Coze is a one-stop AI development platform released by ByteDance, specifically targeted at the overseas market. It allows users to create AI applications without coding, integrating features such as knowledge bases, workflows, and multi-agent capabilities. In the video, Coze is the central subject where the creator explores its functions and capabilities, highlighting its ease of use and the potential for creating AI bots.

💡AI Bot

An AI Bot, as discussed in the video, refers to an artificial intelligence-driven software that can perform tasks and interact with users. The script focuses on creating such bots using Coze, emphasizing the ability to integrate plugins and workflows to enhance the bot's functionality.

💡GPT-4 Turbo

GPT-4 Turbo is a high-capacity language model available on Coze, with a 128K context. The video script mentions it as one of the attractive features of Coze, allowing users to utilize this advanced model for creating AI bots without charge, showcasing the platform's generosity in providing access to powerful AI technology.

💡Knowledge Base

A Knowledge Base in the context of the video refers to a structured collection of information that an AI bot can access to retrieve data or answer queries. The script describes how to create and integrate a knowledge base into an AI bot on Coze, which can include units from various sources like local documents, URLs, or databases.

💡Plugins

Plugins in the video are additional components that can be integrated into an AI bot to extend its capabilities. They are likened to actions in GPT or apps in automation tools like Zapier or Make. The script provides examples of available plugins such as DALL.E 3 for image creation and GPT4V for image recognition.

💡Workflows

Workflows are sequences of tasks that an AI bot can automate. The video explains how to integrate workflows into a bot on Coze, allowing it to perform complex tasks. An example given is a workflow that can search for products on Amazon, demonstrating the potential for automating specific processes.

💡Multi-agent Mode

Multi-agent Mode is a feature of Coze that allows the creation of AI bots with multiple sub-bots or agents, each capable of handling separate conversations or tasks. The script describes this as suitable for personalized tasks where different agents can represent different AI personalities or functions.

💡Single-agent Mode

Single-agent Mode, as opposed to multi-agent, is a configuration where an AI bot operates with a single AI entity or agent. The video script mentions this mode as capable of handling more complex tasks due to the continuity of interactions within a single context.

💡Database

In the video, a Database is introduced as a new feature on Coze that allows for the integration of structured data into an AI bot's memory. This can provide more precise and efficient access to information, as demonstrated by the script's example of adding and querying records within a database table.

💡Discord

Discord is a social media platform mentioned in the script as one of the places where a Coze-created AI bot can be published and interacted with by users. The video demonstrates the process of publishing a bot to Discord, indicating the platform's support for chatbot integration.

Highlights

Introduction to Coze, a one-stop AI platform by ByteDance, allowing users to create AI applications without coding.

Coze's international version offers the GPT-4 Turbo model with 128K context for free use, a significant attraction for users.

Coze.cn, the Chinese version, uses a different model, the Lark model, which may not be suitable for those looking for GPT-4.

A step-by-step guide on creating a basic chatbot using Coze, including the interface translation for ease of use.

Explanation of Coze's marketplace where users can find pre-built bots and plugins to enhance their AI applications.

Demonstration of creating a bot with plugins and workflows, showing the process of integrating various functionalities.

Introduction to Coze's knowledge base feature, allowing bots to retrieve information from structured data sources.

Tutorial on creating a knowledge base assistant bot that utilizes content from previous videos and blog posts.

Explanation of the difference between single-agent and multi-agent modes in bot creation for personalized tasks.

A walkthrough of creating a multi-agent bot, showcasing its ability to handle separate conversations independently.

Discussion on the current limitations and the need for comprehensive documentation for advanced features like workflows.

Coze's potential direction of development, whether it will focus on pure AI capabilities or become an automation platform like Make and Zapier.

Advantages of Coze in integrating with domestic social platforms, which is a weakness of tools like Make and Zapier.

The ability to create custom plugins in Coze, similar to creating Actions in GPT, for users with API integration experience.

A demonstration of adding and managing records in Coze's database feature, showing its potential for structured information storage.

The process of publishing a bot to social media platforms like Discord, Telegram, and the accessibility on mobile devices.

An unexpected behavior observed when testing the multi-agent bot's database operations in Discord, raising questions about data synchronization.

Final thoughts on Coze's current state, its strengths in bot creation, and the free access to advanced GPT models.

Transcripts

play00:00

而且很有意思的是

play00:01

如果你对它进行循环连接的话

play00:03

它实际上就跳不回 TOM 这边了

play00:05

嘿 你好 欢迎回到 Axton

play00:07

如果有一个网站

play00:08

可以让你免费的使用 GPT-4

play00:11

甚至是128K 上下文的 GPT-4 Turbo

play00:14

你动不动心呢

play00:16

那么这样的网站它到底香不香呢

play00:18

今天我们就来尝试一下

play00:20

字节跳动发布的一站式 AI 平台

play00:24

Coze

play00:25

不吹不黑

play00:26

我们今天首先试用一下它的基础功能

play00:30

来创建一个对话机器人

play00:32

然后我们再来看一下

play00:34

如何创建具有多个代理的群聊机器人

play00:37

以及如何创建数据库类型的知识库

play00:40

这些稍微复杂一点的功能

play00:42

最后我们再聊一点对它的期待吧

play00:45

Coze.com 是字节跳动

play00:48

针对海外市场开发的一站式 AI 开发平台

play00:52

可以不用编程

play00:53

就能做出支持知识库

play00:55

工作流甚至多个代理的 AI 应用

play00:59

目前刚刚推出了在国内的中文版

play01:02

也就是我们现在看到的 Coze.cn

play01:05

但是 Coze 的中文版

play01:07

它使用的大模型是云雀模型

play01:10

我们可以看一下

play01:12

中文版的使用须知上就说了

play01:14

算法的名称是云雀大模型算法

play01:17

那这对于想免费使用 GPT-4的朋友

play01:20

就不合适了

play01:21

所以我们今天试用的还是 Coze.com 的海外版

play01:25

当然中文版也有一定的优势

play01:27

咱们后面再说

play01:28

好,我们来到 Coze.com 的首页

play01:31

注册账号很简单

play01:32

但是大家需要注意的

play01:34

就是它对地域有一定的要求

play01:36

有些地区可能不能使用

play01:38

注册完账号之后

play01:39

我们直接点击开始使用

play01:40

就可以进入到它的首页

play01:43

Coze.com 它的界面是英文版的

play01:45

但是为了大家看起来方便

play01:47

我就把它翻译成了中文

play01:48

用浏览器直接翻译的

play01:50

它的界面很简单

play01:51

首先进来就是欢迎页

play01:53

你可以在这直接开始跟大模型对话

play01:57

比如你这边也可以像创建 GPT 一样的

play02:00

直接告诉它

play02:00

我想创建一个机器人

play02:02

创建一个 Bot

play02:03

那接着就是商店

play02:05

商店下面有机器人

play02:07

这就是别人做好的机器人

play02:09

还有插件

play02:11

这里面的机器人和插件

play02:12

你都可以拿来自己使用

play02:14

另外就是你的个人空间

play02:17

当我们进入到个人空间之后

play02:19

我们就可以从上面的功能选单

play02:21

我们就知道 Coze 它能做什么了

play02:24

首先它可以创建机器人

play02:26

这个机器人可以通过集成插件

play02:28

来扩展它的能力

play02:30

比如像插件商店里面显示的这些插件

play02:33

我们都可以放到我们自己的机器人里面去用

play02:36

这个插件

play02:37

它就等同于 GPT 的 Action

play02:40

Zapier 的 App 或者 Make 这种自动化工具

play02:43

它所集成的 App

play02:44

这些就是类似于同一类的东西

play02:47

那你的 Bot 除了用插件来扩展它的能力

play02:50

还可以集成一定的工作流程

play02:52

集成工作流程之后

play02:54

它就可以自动化的去完成一系列

play02:56

更加复杂的一些任务

play02:58

比如这边的工作流 Amazon

play03:00

它可以搜索 Amazon 上的一些商品

play03:02

这边显示的是你自己的工作流程

play03:05

当我们在创建 Bot

play03:06

创建机器人的时候

play03:07

我们还可以直接去用别人已经共享出来的一些工作流

play03:11

待会我们都可以看到

play03:12

最后还有我们自己的知识库

play03:14

我们创建的机器人

play03:16

就可以从我们的知识库当中去获取信息

play03:19

这就是扣子的主要功能

play03:20

它可以创建一个集成了插件

play03:22

工作流程以及知识库的机器人

play03:25

而创建的过程也很简单

play03:27

下面我就带大家手把手的创建一个机器人

play03:30

我们看一下它整个的流程

play03:32

然后当中都有些什么诀窍

play03:34

今天主要给大家演示两个机器人

play03:37

一个就是我的知识库的助手

play03:40

它可以从我之前的视频

play03:41

以及我的博客文章当中获取知识

play03:44

然后我们可以问它相关的问题

play03:46

它就会用我的视频当中的内容

play03:48

或者博客文章当中的内容来进行回答

play03:52

另外一个就是给大家看一下多个代理的机器人

play03:55

首先我们看我的知识库助手

play03:58

在我两个月之前的一个视频

play03:59

讲 OpenAI 的 Assistant API 的时候

play04:02

就讲到过我有一个知识库的助手

play04:05

它可以根据我给它上传的

play04:07

我的视频的内容

play04:08

文章的内容来回答相应的问题

play04:10

我们今天就把它原样在扣子里面复现一下

play04:13

我们首先来看一下我的 Axton 知识库助手的结构

play04:17

然后我再从头到尾给大家重新创建一个新的

play04:20

大家就可以知道这个整个的过程该怎么走

play04:23

每个机器人它的界面

play04:25

创建界面就是这三个部分

play04:27

我们先从上面看

play04:28

首先它有两个模式

play04:31

一个是单代理模式

play04:32

还有一个是多代理模式

play04:34

单代理模式就是你整个的机器人

play04:36

你创建的这个机器人

play04:38

它里面只有一个 Bot

play04:39

一个机器人

play04:40

一个代理

play04:42

你也可以理解成一个语言模型

play04:44

一个 AI

play04:45

多代理模式就是我们创建的这个机器人

play04:47

它里面会包含这几个小机器人

play04:50

每一个小机器人

play04:51

我们就可以理解为每一个小的 AI

play04:53

每一个小的语言模型

play04:56

它们俩的区别就在于多代理的模式

play04:59

它是适合于一些更加具有个性化的一些任务

play05:03

因为它是个群聊

play05:04

我跟 Tom 聊天和跟 Jerry 聊天

play05:07

这两个对话是互相不影响的

play05:10

但是单代理模式

play05:11

它能够完成更加复杂的任务

play05:13

因为我所有的对话

play05:15

它都是在一起的

play05:16

我就可以逐步的进行深入

play05:17

来完成一些更复杂的任务

play05:20

我的这个知识库助手

play05:21

用的就是单代理模式

play05:23

等全部演示完之后

play05:24

我给大家再看一下多代理模式是个什么样子

play05:27

然后这边用到的模型

play05:30

GPT-4涡轮增压

play05:32

我还是把它转换成英文网页吧

play05:34

因为用的是网页翻译

play05:35

所以这个直接翻译出来的看起来太怪异

play05:38

我们直接看英文网页

play05:40

这样大家在使用的时候

play05:41

也方便知道我说的对应的英文是个什么东西

play05:45

好 我们回到英文网页

play05:47

OK 这边是英文网页

play05:49

这里就是它可选的模型

play05:51

模型以及模型的配置

play05:53

我们可以看到它现在支持的就是 OpenAI 的 GPT-4 Turbo

play05:57

128K 上下文的

play05:59

那还是非常大方的

play06:01

还有 GPT-4 8K

play06:02

GPT-3.5 16K

play06:04

目前是在让我们免费使用

play06:06

这点应该也是它最吸引人的一个地方

play06:09

这边就是预览窗口

play06:11

我们可以在开发创建你的机器人过程当中

play06:14

不断的去测试它的行为符不符合你的要求

play06:18

那中间这一溜就是给你的机器人增加树了

play06:21

给它添加插件

play06:23

比如 DALL.E 3 GPT-4V 等等

play06:25

还可以给它增加一些工作流

play06:28

完成一些更复杂的任务

play06:30

再往下就是它的记忆

play06:32

跟它记忆相关的一些事情

play06:34

包括知识库

play06:35

我们可以给它创建知识库

play06:37

还可以给它一些固定的变量

play06:39

这样省得大语言模型去猜

play06:42

而且还最新推出了数据库 Database

play06:45

就可以有更多结构化的信息

play06:46

可以存在这个机器人的记忆当中

play06:49

后面还有定时任务

play06:51

以及开场的对话等等

play06:53

当你把所有的东西配置好之后

play06:55

你在这边就可以问它一些问题

play06:57

看它的回答符不符合你的要求

play06:59

比如说我们就问它一个

play07:00

我讲过 Code Interpreter 吗

play07:03

它就会搜索这个知识库

play07:04

然后就告诉我

play07:05

是的

play07:06

它在 YouTube 视频当中

play07:08

有讲过 Code Interpreter

play07:10

然后还给出了我的视频标题和链接

play07:14

这确实是 Code Interpreter

play07:17

那整个测试完之后没有问题

play07:18

你就可以通过发布按钮

play07:20

把它发布到目前 Coze

play07:21

所支持的一些社交媒体当中

play07:24

那最后呢

play07:24

我同样也会给大家演示到这一步

play07:27

play07:27

那现在我就从头到尾给大家创建一遍

play07:29

这个 Bot 机器人

play07:31

然后再给大家详细的演示一下

play07:33

中间技能树当中的一些技巧

play07:36

play07:37

这个 Prompt 我们把它 copy 下来

play07:39

提示呢

play07:39

大家可以根据你自己的情况去写

play07:42

写了之后呢

play07:42

还可以用它的优化按钮来进行优化

play07:45

play07:45

我们创建一个机器人

play07:47

Create 一个 Bot

play07:48

给一个名称

play07:49

比如我们还是叫 Axton

play07:52

我们来个 V3

play07:53

你可以输入描述

play07:54

然后生成一个 Picture

play07:56

图片

play07:56

这些我们都略去直接确定

play07:59

play07:59

Bot 的框架就有了

play08:00

下面我们就是来一步一步填充

play08:02

它的各项内容

play08:04

play08:04

首先这个 Prompt 就把刚才的 Prompt

play08:06

我们贴在这里面

play08:08

咱们重点是来看一下技能树

play08:10

首先是插件

play08:11

我们可以在这边添加现有的一些插件

play08:15

这些插件就是目前 Coze

play08:17

它提供给大家的

play08:18

可以直接拿来用的一些插件

play08:20

因为 Coze 本身它发布的时间并不久

play08:23

所以它的插件其实不多

play08:25

我的印象当中也就60多个

play08:27

比如它的这些插件就可以让你进行

play08:30

谷歌的搜索

play08:31

还有 DALL.E3进行画图

play08:34

GPT4V 用 GPT 做图形识别

play08:37

还有 GitHub 以及谷歌的学术搜索 Scholar 等等

play08:42

还有新闻

play08:43

根据自己的需要去添加你所需要的一些插件

play08:47

我们随便加几个

play08:48

比如说加个画图

play08:50

再加个图形识别

play08:52

我们也可以再加个 Scholar

play08:54

插件加完之后就会列在这里面

play08:56

当然你还可以让它自动的去帮你选 Plugin

play09:00

play09:00

那接下来是工作流

play09:02

我们点击加号就可以添加工作流

play09:06

这就包括大家已经分享的

play09:08

现成的一些工作流

play09:09

你可以直接加入到你的机器人当中去

play09:12

当然你也可以自己去创建一个新的工作流

play09:16

比如这边现有的几个工作流

play09:18

搜索抖音的视频

play09:19

搜索 Amazon

play09:21

还有论文搜索等等

play09:22

不多

play09:23

一共五个

play09:24

比如如果你要想用 Amazon 的工作流

play09:26

你就把这个 Amazon 搜索的工作流直接进行复制

play09:30

就可以复制到你自己的工作空间当中了

play09:32

你就可以对这个工作流进行一些相应的修改

play09:37

按照你的要求进行修改

play09:38

修改完成之后

play09:39

你就可以用到你的机器人里面了

play09:41

那目前创建工作流

play09:42

它可以支持语言模型

play09:44

使用代码

play09:45

使用你的知识库

play09:47

根据条件进行跳转

play09:48

还有变量

play09:49

提供了这五项基本的功能

play09:51

同样还有插件

play09:52

还有其他的工作流都可以集成进来

play09:55

那工作流的创建要复杂一些

play09:57

我们这次先不去做这个演示了

play09:59

咱们还是回到我们的自己的机器人这边

play10:02

那接下来就是跟他的记忆相关的知识库

play10:05

首先就是知识库

play10:08

同样点击加号添加知识库

play10:10

那这边都是已有的知识库了

play10:12

我们可以从你已有的知识库当中添加

play10:14

也可以重新创建新的知识库

play10:17

那这次我们就来重新创建一个新的知识库

play10:20

同样它就到了创建知识库的界面了

play10:22

就是在我们的个人空间创建知识库这边

play10:25

那我们就创建新的知识库

play10:28

知识库的名字

play10:30

内容大全

play10:31

然后我们就往这个知识库里面添加 unit 单元

play10:35

Coze 提供了比较多的添加知识库的几个途径

play10:39

大的方面就是一个就是文本模式

play10:41

还有就是表格的形式

play10:43

那在文本的格式当中

play10:44

我们可以添加本地的文档

play10:46

PDF, TXT 或者多的文档

play10:49

然后你也可以通过 URL 添加网页

play10:53

还可以把你的 Notion 的数据库和 Notion 的Page添加进来

play10:57

当然你也可以自定义

play10:59

在表格的格式里面

play11:00

我们可以同样添加本地的文档

play11:03

Excel 或者 CSV 格式的文档

play11:06

也可以通过 API 去获取 JSON 格式的数据

play11:09

同样还是自定义

play11:10

那这次我们就在 text 文本格式里面

play11:13

给大家演示一下

play11:15

通过 URL 来获取网页

play11:17

以及在 table 格式里面演示一下

play11:20

上传 CSV 格式的知识库

play11:23

play11:23

首先就是 online data

play11:24

在线的数据

play11:25

我们只要给他一个 URL 就行

play11:28

我们先选下一步

play11:29

上面给你显示的是处理过程

play11:32

这一共有两步

play11:34

第一步就是添加一个 URL

play11:36

就把我的博客的 URL 给他

play11:38

更新频率

play11:40

那我假设我的博客三天一更新

play11:42

我就给他设成七天

play11:43

不用那么频繁的更新

play11:45

play11:46

首先他就会等待去获取我的博客网站的 title 标题

play11:51

获取完成之后

play11:52

我们就可以进行下一步了

play11:53

这时候他就应该是去爬我的网站上的页面内容了

play11:58

play11:58

完成之后我们确定

play11:59

这样我们就通过 URL

play12:02

把我的网站上的博客的数据添加给他了

play12:05

然后我们再添加一个 CSV 格式的文件

play12:08

我们选 table 本地数据

play12:11

CSV

play12:13

OK

play12:13

我们拖过来一个文件就行

play12:15

这边我就把我的 CSV 文件

play12:17

包含了我的视频的标题

play12:20

播放链接等等信息的一个 CSV 文件

play12:23

作为知识库上传给他

play12:25

然后下一步就是你要对这个表格做一些配置

play12:28

这边主要就是他的列名

play12:31

我的 CSV 文件主要有三个列

play12:33

ID URL 以及标题

play12:36

更重要的是我们要选他的索引 index

play12:39

你主要是要根据哪一项来进行检索

play12:42

进行搜索

play12:43

你就选哪一个

play12:44

当然我是要根据标题来搜索的

play12:47

所以我就把索引定为标题

play12:49

play12:49

下一步

play12:51

有个预览

play12:52

我们看一下预览是不是跟我们的 CSV 文件格式一样

play12:55

有没有错误

play12:56

没有的话

play12:57

我们就继续下一步

play12:58

play12:59

这时候他就对我们上传的文件进行一个处理

play13:01

分片处理

play13:03

play13:03

处理完成

play13:04

我们点击 confirm 确认

play13:05

那这就是我们上传的 CSV 文件

play13:08

被他进行了分片之后的结果

play13:10

play13:10

这样的

play13:11

我们刚才创建的知识库就包含了两个单元的内容

play13:15

一个就是根据我的网址获取的博客文章

play13:18

另外一个就是我上传的 CSV 文件

play13:21

play13:21

我们的机器人就用这个知识库

play13:24

play13:24

知识库创建完成

play13:25

我们现在就回到我们创建机器人的界面头去

play13:28

这就是我们刚才创建机器人的时候

play13:30

让我们选择知识库的界面

play13:32

我们就选我们刚刚创建的内容大全

play13:35

然后添加

play13:37

当然你也可以再添加其他更多的知识库

play13:40

那变量就是帮助你记录一些很明确的信息

play13:43

它相当于也是知识库的一部分

play13:45

就不用 AI 去猜了

play13:47

比如说你的名字是什么

play13:48

你就可以定义在这里

play13:50

那这边

play13:50

我们也创建一个新的变量

play13:53

变量的名称以及它的值

play13:55

比如名称我们就 Axton 是谁

play13:58

play13:58

然后就把我们的一个简介告诉它保存

play14:02

这样我们就有了一个 Axton 是谁的变量

play14:05

那以后如果有人跟你的机器人对话

play14:07

问到 Axton 是谁的时候

play14:08

他就直接根据这个变量就可以给出明确的回答了

play14:12

比如我们在这个预览窗口头看一下

play14:14

play14:16

检索知识库

play14:18

Axton 是一位在 AI 自动化高效工作流程

play14:20

Prompts Engineering 等领域

play14:22

具有丰富经验的内容创作者

play14:24

这就是我刚才 Copy 给他的内容

play14:26

当然变量你还可以添加更多的变量

play14:29

同样是根据你的实际情况来定义

play14:31

那这边还有一个比较新颖的功能

play14:33

就是数据库

play14:34

数据库本身也是给它提供一些明确信息的内容

play14:38

作为它的知识库的一部分

play14:40

比如这边它举的例子

play14:41

数据库你可以给它添加一些关于书籍的信息

play14:44

书的名称

play14:45

章节

play14:46

以及你做的笔记

play14:48

我们也可以给它添加一个数据库

play14:50

这个数据库就是我的一些常用的链接给它

play14:54

我们看一下数据库的操作过程

play14:56

添加一个数据库的表

play14:58

你可以用它的 template 模板

play15:01

我们也可以创建一个新的表

play15:03

我们创建一个新的

play15:04

咱们不用它的书籍的表

play15:06

因为我的常用链接

play15:07

那么首先给它一个名字

play15:10

就是 urls

play15:11

就是我的一些链接

play15:13

那表的名字给了

play15:14

关键还有就是它的字段了

play15:15

字段名 描述以及它的数据类型

play15:19

那我的常用链接

play15:20

我们就给它三个字段

play15:22

一个是名字

play15:23

类型我们就是字符串

play15:25

是不是必须的

play15:26

其实都是必须的

play15:27

我们可以都给它打上

play15:29

添加一个类型

play15:30

再添加一个 url

play15:33

那这样把我的一些常用链接给它

play15:35

那这样当回答当中需要给出链接的时候

play15:38

机器人就可以直接通过数据库检索来给出答案

play15:41

那这样不但效率很高

play15:42

而且结果也会很精准

play15:44

好 保存

play15:46

当然你现在在这里

play15:47

你是没有办法添加记录的

play15:48

我们待会去看一下怎么去添加记录

play15:51

那下面这个定时任务

play15:52

这个大家都耳熟能详了

play15:53

这没什么困难的

play15:54

不需要演示了

play15:56

这个那下面这个就是开场白

play15:58

也就是你的机器人刚开始出来的时候

play16:00

显示给大家看的东西

play16:01

GPT 也有同样的内容

play16:03

好 我们先随便给它一个

play16:05

就是 Axton的内容助手

play16:07

开场的问题就 Axton是谁吧

play16:09

还可以有更多的问题

play16:12

比如 Axton的博客

play16:14

自动建议

play16:15

我们可以看到当你问了一个问题

play16:17

机器人给你回答之后

play16:19

这边会再自动的给你给出三个进一步的问题

play16:22

这就是自动建议

play16:24

好 下面就是声音

play16:25

这是用在它的 CiCi 的这个 APP 里面的

play16:28

我们现在不用这个 APP

play16:29

所以这边不需要配置

play16:31

那主要的配置内容就是这些

play16:34

配置完之后

play16:34

我们就可以在这边先验证一下

play16:36

我们的知识库起不起作用

play16:39

好 我现在先给它两个问题

play16:41

首先我们就试一下刚才演示的那个问题

play16:43

Axton讲过 Code Interpreter 吗

play16:45

好 找到两个视频

play16:46

然后回答的格式呢

play16:47

跟演示的不太一样

play16:50

但是没有关系

play16:51

我们再看一个跟博客相关的问题

play16:53

比如我们问它

play16:55

如何让 GPT 为你制作图形笔记

play17:00

这就是它搜索我博客的知识库的结果

play17:03

它在一篇让 GPT 为你制作图形化笔记

play17:06

智图派的文章当中详细的介绍了

play17:08

怎么样利用 GPT 的文字总结和整理能力

play17:11

来制作图形化笔记

play17:13

好 详细的信息它链接也给了出来

play17:15

我们看一下链接对不对

play17:17

错 链接是错的

play17:19

但是我确实是有这篇文章

play17:21

置顶的这篇文章就是

play17:23

好 接下来我们看一下

play17:24

我们怎么去操作这个数据库

play17:26

我们怎么给这个数据库去添加记录

play17:28

添加内容

play17:29

其实也很简单

play17:30

就是通过自然语言给它添加记录就行了

play17:33

比如我们就让它一次添加上三条记录

play17:36

看看行不行

play17:37

好 我们先试一下这种方式行不行

play17:40

在数据库 URLS 当中添加以下三条记录

play17:43

智图派 博客 网址

play17:46

AI 精英学院

play17:47

它是学校 网址

play17:48

还有回到 Axton

play17:49

这是我的 YouTube

play17:50

那这基本上就是按照我们刚才数据库

play17:52

定义的字段的顺序来写的

play17:55

很简单就表示已经添加成功了

play17:57

我们看一下它的操作过程是不是正常

play18:01

那从这边我们实际上也看到

play18:02

它用的就是 SQL 语句

play18:04

直接操作的数据库

play18:06

当然如果你没有编程背景

play18:07

也不用怕

play18:08

有了 ChatGPT 的帮忙

play18:10

SQL 语句一般 SQL 都很容易写出来

play18:13

不过这都是后话了

play18:14

好 既然它说添加成功

play18:15

我们就要看看到底是不是真的成功了

play18:17

我们先问它一下

play18:18

数据库 URLS 当中有哪些记录

play18:21

没错 跟我刚才让它添加的是一模一样

play18:25

既然刚才我们看到它说支持 SQL

play18:27

其实直接的 SQL 语句应该都是可以的

play18:30

好 确实它是直接可以运行这个 SQL 语句

play18:33

那这时候我们的问题

play18:34

如果是在这个数据库里面有

play18:36

它就会直接从数据库里面给答案了

play18:38

这样是非常高效的

play18:40

比如说我们问它一下看看行不行

play18:42

很聪明

play18:44

它就到表里面去找了

play18:46

Axton 的博客网址就是 axtonliu.com

play18:49

很好

play18:50

那这就是它创建一个机器人的一个过程

play18:53

那下一步就是我们把它 Publish 发布到社交媒体上

play18:56

这样大家就可以用了

play18:57

你也可以公布出去

play18:59

这是它的国际版

play19:00

海外版的帮助文档

play19:01

我们可以在它的帮助文档当中

play19:03

可以看到它可以发布到哪里

play19:05

这里面我知道的社交媒体

play19:07

基本上都有手机版

play19:08

所以这也就意味着你的机器人发布之后

play19:11

在电脑在手机上都可以使用

play19:13

因为本身像 Discord

play19:15

Telegram 这些都有手机的 APP

play19:17

所以在手机上使用没有任何的障碍

play19:20

我们接下来就演示一下

play19:21

我们发到 Discord 里面去

play19:23

play19:23

在它的文档当中发布怎么发布

play19:25

它都有详细的讲解

play19:27

我们跟着操作步骤一步一步来就行

play19:29

这种操作只要它的文档没有问题

play19:32

一般你都不会碰到什么障碍

play19:33

我们就跟着它这个走

play19:35

我们在 Discord 里面创建一个机器人

play19:38

然后把相应的权限给它

play19:40

再把机器人的 Token 拷贝过来

play19:43

我们直接打开我的 Discord

play19:45

play19:45

这边我已经创建了个机器人

play19:47

那我要做的呢

play19:49

就是我把 Token 拷贝给它

play19:51

我们再看一下

play19:53

Token 拷贝完毕

play19:54

然后我们就要到这个扣子的发布页面

play19:57

点击配置

play19:58

play19:59

到我们的刚才的机器人这边来

play20:02

我们点击发布

play20:04

首先我们需要填一个我们的 Change Log

play20:07

就是你更新了哪些内容

play20:08

那我们可以说我们是这是第一次发布

play20:11

然后我要发布到 Discord 去

play20:13

那首先我要进行配置

play20:15

这就是我的 Token

play20:16

很简单

play20:18

只要把 Token 给它就可以

play20:20

我们看看还有没有别的要求

play20:22

play20:22

选中发布

play20:23

在 Discord 中打开就可以跟它聊天了

play20:27

play20:27

我们选中发布

play20:29

发布成功

play20:30

打开

play20:31

在 Discord 中打开

play20:33

OK 需要重新登录

play20:35

登录完之后

play20:35

然后选择你所需要发布的服务器

play20:38

我这边就发布到我的精英学院

play20:40

然后权限

play20:41

给它权限

play20:42

授权

play20:44

OK 发布成功

play20:45

我们到精英学院

play20:46

play20:48

这时候我就问他 GPT Builder 有什么特点

play20:51

然后他就给出了回答

play20:52

并且告诉我这个信息是来源于标题为 GPT 商店团队版

play20:57

最懂你的 GPT

play20:58

我的一个 AI 快讯的文章

play21:00

然后给出了链接

play21:02

play21:02

这样说明我们 Discord 的发布是成功的

play21:06

play21:06

咱们再来看看在发布之后的 Discord

play21:09

发布之后

play21:10

对这个机器人的数据库能不能直接进行操作

play21:13

没有任何数据

play21:16

这就很奇怪

play21:17

我们在这边的预览是可以看到它里面有数据的

play21:20

但是我们要是在这边点击这个数据库

play21:23

这个数据库确实是空的

play21:25

那具体怎么回事呢

play21:26

我也不愿意去深究了

play21:28

因为目前在它的海外版的这个文档当中

play21:31

都没有提到过有数据库相关的内容

play21:34

那在国内版的倒是对数据库有一定的介绍

play21:38

但是整个文档都写的比较简单

play21:40

所以我们也没有必要把时间去浪费在自己去猜想上面

play21:44

那既然他说没有数据呢

play21:45

我们就试试从这边能不能把这个数据添加进去

play21:48

居然还能添加

play21:51

play21:51

我们来查询一下

play21:52

play21:56

那我们再来试几个有意思的命令啊

play21:58

我们看看能不能在 Discord 里面给他数据库当中的记录删除记录

play22:02

我们把博客类别的记录删除掉

play22:07

成功

play22:09

他居然能删除记录

play22:11

再看一下

play22:12

记录是剩两条了

play22:14

果然删掉了

play22:14

我们再来试一下

play22:15

play22:18

把这个表都清空了

play22:19

所有的记录已经删掉了

play22:21

我们再确认一下

play22:22

表中已经没有任何记录了

play22:26

我们再试一个命令

play22:28

play22:30

这个有意思

play22:31

我可以用命令把他的数据表完全清空

play22:34

但是如果要删除这个表是不能通过这个方式来操作的

play22:38

那他这个行为就非常有意思呀

play22:40

我不知道别人是不是给这个机器人发送同样的这些命令

play22:44

也能把他数据表当中的所有的记录全部都清空

play22:48

如果是这样的话

play22:49

就有点夸张了

play22:50

感兴趣的朋友们呢

play22:51

可以试一下

play22:53

那接下来呢

play22:54

我们看一下他的多代理的情况

play22:56

play22:58

这边呢

play22:58

就是我做好了一个多代理的测试

play23:01

给了两个 agent

play23:02

两个代理

play23:03

那每个代理呢

play23:04

实际上都相当于是一个小机器人

play23:06

你可以分别的跟他们进行对话

play23:09

那同样的

play23:10

因为他们目前文档实际上是比较欠缺的

play23:13

所以呢

play23:13

如果你想用一些进阶的功能的话

play23:16

会花费很多不必要的时间

play23:18

比如两个代理之间我们是可以进行连接的

play23:22

然后这边有个 jump condition

play23:24

就是跳转条件

play23:26

我们可以看一下这个跳转条件的说明

play23:28

说明很简单

play23:30

添加一个 agent 代理的跳转条件

play23:32

当相应的条件满足的时候

play23:34

就会跳转到下一个代理

play23:37

但是实际上他并不像你想象的那样

play23:39

比如说为了搞清楚他的写法呢

play23:42

还是需要耗费一点点时间

play23:44

其实这点时间在有文档的情况下是非常没有必要的

play23:48

我们就简单来看一下就好了

play23:50

比如说这边多代理

play23:52

我有两个代理

play23:53

两个 agent

play23:54

我们可以把它当成两个 AI

play23:56

那么每个 AI 跟你的对话是互相隔离的

play24:00

也就是说你跟 Tom 的对话

play24:02

Jerry 是不知道的

play24:03

那实际上这边 jump condition 的写法有几种

play24:06

那比如说按我这种写法的就是当我们输入的内容满足了这个条件

play24:10

他就会跳到下一个 agent 去

play24:12

我们可以看一下效果

play24:14

这边有一个绿色的 chatting

play24:15

就表示我在跟 Tom 在对话

play24:18

我没有跟 Jerry 对话

play24:20

好这边比如说我说

play24:21

我想找 Jerry

play24:23

好他就跳到了对话就跳到了 Jerry 这边

play24:26

因为条件就是如果我的发送的内容当中包含 Jerry

play24:30

他就会进行跳转

play24:32

所以这就是他的 jump condition 的一种写法

play24:35

而且很有意思的是

play24:36

如果你对他进行循环连接的话

play24:38

他实际上就跳不回 Tom 这边了

play24:40

我们可以看一下这个效果

play24:42

比如当我输入的内容当中有老朋友的时候

play24:44

他应该跳到 Tom 这边去

play24:46

大家可以注意一下

play24:48

他会先跳到这

play24:49

然后再跳回来

play24:49

这都是很有意思的一些行为

play24:57

所以如果想使用多 agent 来达到你的一些要求的话

play25:02

建议还是等官方的文档出来之后再做

play25:05

这样会省很多的时间

play25:07

那总结一下呢

play25:08

目前来看 Coze

play25:09

他的最大的优势是在于简单的创建 Bot

play25:13

创建机器人以及更重要的是

play25:16

我们可以免费的使用 GPT-4和 GPT-Turbo

play25:20

对于他的插件呢

play25:21

你也可以自己去创建插件

play25:24

如果你会了 GPT 里面创建 Action 的话

play25:26

用第三方的 API 创建 Action 的话

play25:29

那么你创建一个插件也不会存在什么大的问题

play25:32

至于他的工作流这些高级的功能呢

play25:34

目前我认为还是处在一个非常早期的阶段

play25:37

他跟 Make,Zapier 这样老牌的自动化工具啊

play25:41

现在完全还不是在一个级别上

play25:43

而且像 Coze 这类产品的发展方向

play25:45

其实我很好奇啊

play25:47

他到底是往纯 AI 方向去发展呢

play25:49

还是要往 Make,Zapier 这样的自动化的平台方向去发展呢

play25:54

那这个可能还需要一段时间

play25:55

我们来看看他到底是怎么做

play25:58

那在之前呢

play25:59

我在使用 Coze 的时候

play26:00

我就认为他的一个很大的优势呢

play26:02

就是可以比较方便的集成国内的一些社交平台

play26:06

这一点呢

play26:06

其实就是 Make,Zapier 这些工具的一些短板了

play26:09

那随着 Coze 中文版国内版的发布呢

play26:12

那他目前的已经可以发送到飞书和微信的服务号

play26:17

所以这就是他跟国内平台集成的一个优势了

play26:20

另外在创建一个机器人过程当中

play26:22

他所涉及到的一些知识呢

play26:25

学过我的课程的朋友应该不会觉得太陌生

play26:28

所以不要忘了点击描述栏当中的链接

play26:31

尽快的加入到 AI 精英学院

play26:32

学习掌握 AI 应用的两项核心技能

play26:36

好,今天的分享就到这里

play26:38

我是 Axton,咱们下期再见

Rate This

5.0 / 5 (0 votes)

Ähnliche Tags
AI PlatformsGPT-4Bot CreationPluginsWorkflow AutomationKnowledge BaseCoze AIMulti-Agent BotsDiscord BotsAI Integration
Benötigen Sie eine Zusammenfassung auf Englisch?