Build A Chat Bot
Here, We will guide you through the overall process of building a simple Chat Application that specializes in love consultation named Cupid's Guide.
Step 1: Create an application
Click the "Create Application" button on the homepage to create an application. Fill in the application name, and select "Chat App" as the application type.
Step 2: Compose the Application
After the application is successfully created, it will automatically redirect to the Orchestrate page.
2.1 Fill in Prompts
Prompt phrases are used to guide AI in providing professional responses, making the replies more precise. You can utilize the built-in prompt generator to craft suitable prompts. Prompts support the insertion of form variables, such as {{input}}
. The values in the prompt variables will be replaced with the values filled in by the user.
To add the opening dialogue, click the "Add Feature" button in the upper left corner, and enable the "Conversation remarkers" feature:
And then edit the opening remarks:
2.2 Adding Context
If an application wants to generate content based on private contextual conversations, it can use our knowledge feature. Click the "Add" button in the context to add a knowledge base
2.3 Debugging
Enter user inputs on the right side and check the respond content.
If the results are not satisfactory, you can adjust the prompts and model parameters. Click on the model name in the upper right corner to set the parameters of the model:
2.4 Publish App
After debugging your application, click the "Publish" button in the top right corner to create a standalone AI application. In addition to experiencing the application via a public URL, you can also perform secondary development based on APIs, embed it into websites, and more.
Last updated