paint-brush
Design and Deploy AI Chatbot Using Coze: How to Build a GPT4 Workflow/Chatbot for Freeby@diamondolmd

Design and Deploy AI Chatbot Using Coze: How to Build a GPT4 Workflow/Chatbot for Free

by DiamondNovember 5th, 2024
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A guide to build a translator Chatbot with Coze
featured image - Design and Deploy AI Chatbot Using Coze: How to Build a GPT4 Workflow/Chatbot for Free
Diamond HackerNoon profile picture

You may want to ask, "What is Coze?" and "Why should I care?" Well, as it is stated on their official website, Coze is a next-generation AI Agent building platform. Coze web page

Coze enables users with all levels of programming (and no code) experience to create various chatbots and deploy them across social platforms and messaging apps like Discord, Telegram, LINE and Slack.


Why should I care?

Coze has been proven to be very helpful and easy to use. Here is why:


- Coze allows you (as a user) to use GPT-4 Turbo (128K) for free. We have seen different techniques, such as RAG and GPT4V. Usually, these require a lot more work to do locally. There is software to install, many things to configure, and many errors to solve. But with Coze, all of these can be done easily, even with no code experience.


- As a platform, other bots can be used (as Multi-agent) via their Agent (Bot) Store. Besides, the bot can also be deployed on many other social platforms such as Discord and Telegram. Coze platform Imagine sharing your own AI bots with your friends. Isn't it cool?


To crown it all, before I show you how to build a GPT4 Workflow/ Chatbot with Coze, the Coze platform offers a Coze Assistant bot, which already has a strong ability to help you create any bot (even with no code experience) and can call another user-created bot by simply typing '@'.

How to Build GPT4 Workflow/Chatbot With Coze

Step 1

Simply click the '+ Create bot' button on the top left. Give it a name and description of your bot. Click the 'Generate' button below, and the profile picture can be generated easily using Coze AI.


Step 2

Then is the most interesting part; a workspace where you can design everything of your bot, in creation. Have you seen 'GPT-4 (8K)' on top? Look up. Here, you can switch the model and change its parameters, such as temperature.

Have you heard the debate about whether ChatGPT gets stupid? It's funny right‽ Many said that it's because of the change in ChatGPT temperature.

Here you are in control of the temperature of our own bot.


Step 3

To begin, write down the persona and prompt of the bot, like 'You are a good translator, and you will translate chats according to the user's chats.' We can even use AI to optimize the translation prompts. The optimized prompt looks more professional, right?


After this, we can change its ability. For example, if we want to gain the ability to gather information from a picture uploaded by the user, we can add the GPT4V plugin in the menu that pops up after we click '+' on the left of 'plugin'.


Step 4

A more interesting thing is that we can use our own knowledge base here. First, we need to create a knowledge base on the Coze platform.


We can upload PDF documents, Notion links, and many other things here.

We can do segmentation in either an automated way or a custom way. Later, we will still be able to edit the segmentation. After this, we add the knowledge base to the bot's workspace.


We can choose a call method and set other parameters. If we choose 'on Demand Call', we must add 'recallKnowledge' in the prompt.


In addition

We can change its opening questions/greetings to reflect its appearance and experience. We can even choose the bot's voice to read its output automatically.


Step 5

And finally, click the 'publish' button on the top right corner, and then we can deploy it across various platforms such as Coze's own bot store, Telegram configuring the bot with tokens obtained from BotFather in Telegram, and setting up the bot's interactions and responses. It's also super easy.


Note: This does not mention other functions, such as Multi-agent, Skills, and Memory. Coze is really easy to use.