Chat
Chat responds to questions through preset prompts. There are two parts to understand: Prompts and Few-Shot Conversations.
Using DMflow.chat's platform's default prompts and few-shot dialogues, the bot can accurately answer questions. It supports skills like translation and sentence polishing and provides an SQL query tool. It has document query, creation, search, and update capabilities. Voice recognition and image recognition models are now available. Improve customer service efficiency and enhance customer satisfaction.
Chat can be understood in two parts: Prompt and Few-Shot Dialogues.
Prompt
The prompt is the key to the bot's ability to answer user questions based on the prompt content. If you are unfamiliar with prompt usage, you can select the role SYS_PROMPT in our provided test menu to get useful prompt suggestions through dialogue. You can insert the following {{...}} into the prompt, and the corresponding message text will be automatically added. {{user_profile}} can display {email, username, phone} {{cur_time}} can display the current time. Other variables can be customized as needed.
Few-Shot Dialogues
Few-shot dialogues are pre-defined templates that the bot should use to answer user questions. The bot will subsequently answer user questions based on these templates.
Usage
You can set up some default skills (e.g., translation, sentence polishing, etc.) here for the chat agent to call. Additionally, we provide a tool to query form Q&A, which can convert user questions into SQL statements to retrieve corresponding content from the form and provide it to the user.
Why Use This Q&A?
Chat is used to provide chat agents with callable functions, making it convenient to output dialogues based on pre-set methods for each use. Provides form search functionality for third-party channel users.
Chat currently offers the following tools:
Query Document: Searches the data content of Document Q&A.
Add Document: Creates a new entry based on the selected form (creation permissions ignore form permissions; as long as the role has the permission, it can add entries, regardless of form permissions).
Search Document: Searches based on the selected form, but only searches within the user's accessible form permissions.
Evaluation: Asks for satisfaction feedback at the end of the answer.
Collect User Data: Collects visitor email, username, and phone information.
Voice Recognition: File size must be less than 5MB, and audio length must not exceed 1 minute.
Image Recognition: File size must be less than 5MB.
Recommended Questions: Automatically suggests up to three follow-up questions for the user.
Google Routes API: Queries location and distance.
Custom Resources: Allows calling your own API; limits the returned payload size to 4K.
Recommended Products: Queries products from our product list.
Query Reservation: Queries the top ten reservation options based on start and end times (for forms with reservation components).
Collect User Tags: Automatically adds visitor tags.
Get Insert Form Link: Provides an external link for visitors to automatically connect to our form function.
Query Location: Uses code to determine latitude and longitude distance.
Persistent Memory Storage: Allows saving, searching, and deleting visitor memory.
Last updated