CBS
The CBS connector is used to connect to Huawei Cloud CBS QABot.
Conversational Bot Service (CBS) QABot enables enterprises to rapidly build, deploy, and manage intelligent Q&A systems. It supports various scenarios, including automated post-sales support, agent assistance, and pre-sales consultation.
Creating a CBS Connection
- Log in to the new ROMA Connect console.
- In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
- Select the CBS connector.
- In the dialog box displayed, configure the connector and click OK.
Parameter
Description
Name
Enter the connector instance name.
App Key
Access key ID (AK) of the current account. Obtain the AK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).
App Secret
Secret access key (SK) of the current account. Obtain the SK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).
Description
Enter the description of the connector to identify it.
Action
- Obtaining video details
- Deleting a video
- Updating the video name
- Creating a video
- Obtaining the video list
- Closing a session
- Processing a session
- Enabling a session
- Keyword statistics
- Q&A statistics
- Access statistics
- QABot sessions
Configuration Parameters
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
video_id |
Video ID. |
region_id |
Region ID. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
video_id |
Video ID. |
region_id |
Region ID. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
video_id |
Video ID. |
region_id |
Region ID. |
name |
Video name. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
region_id |
Region ID. |
name |
Video name. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
region_id |
Region ID. |
limit |
Range: ≥ 1. Default: 10. |
name |
Name. Length: < 63 characters. |
offset |
Range: ≥ 0. Default: 0. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
qabot_id |
Robot identifier. |
session_id |
Session ID. |
region_id |
Region ID. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
qabot_id |
Robot identifier. |
session_id |
Session ID. |
region_id |
Region ID. |
extends |
Extended parameter. |
tag_ids |
List of answer tag IDs to be matched. |
should |
List of answer tag IDs; at least one must be included. |
domain_ids |
Domain list. Multiple domains are separated by semicolons (;). If certain domains are specified, answers are matched from these domains. If no domains are specified, answers are matched from the entire knowledge base of the user. Currently, a maximum of 10 domains are supported. |
source |
Source of a question, which can be customized and is displayed in Q&A logs. |
chat_enable |
|
user_id |
User ID, which is used to identify a user in logs. The value can be any string. |
question |
User input. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
qabot_id |
Robot identifier. |
region_id |
Region ID. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
qabot_id |
Robot identifier. |
region_id |
Region ID. |
start_time |
Start time (UTC) of the query. The value is a long integer. Default: 0. |
end_time |
End time (UTC) of the query. The value is a long integer. Default: milliseconds of the current time. |
top |
Maximum number of keywords that can be displayed. Default: 10. Range: 0–50. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
qabot_id |
Robot identifier. |
region_id |
Region ID. |
start_time |
Start time (UTC) of the query. The value is a long integer. Default: 0. |
end_time |
End time (UTC) of the query. The value is a long integer. Default: milliseconds of the current time. |
interval |
Statistical period. Options: month, week, and day. |
time_zone |
Time zone of the request. For example, the time zone of China (GMT+08:00) is +08:00 and that of the United States (GMT-05:00) is -05:00. Default: UTC. |
domain |
Domain. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
qabot_id |
Robot identifier. |
region_id |
Region ID. |
start_time |
Start time (UTC) of the query. The value is a long integer. Default: 0. |
end_time |
End time (UTC) of the query. The value is a long integer. Default: milliseconds of the current time. |
interval |
Statistical period. Options: month, week, and day. |
time_zone domain |
Time zone of the request. For example, the time zone of China (GMT+08:00) is +08:00 and that of the United States (GMT-05:00) is -05:00. Default: UTC. Domain. |
Parameter |
Description |
---|---|
project_id |
Project ID, which is used for resource isolation. |
qabot_id |
Robot identifier. |
region_id |
Region ID. |
extends |
Extended parameter. |
tag_ids |
List of answer tag IDs to be matched. |
should |
List of answer tag IDs; at least one must be included. |
domain_ids |
Domain list. Multiple domains are separated by semicolons (;). If certain domains are specified, answers are matched from these domains. If no domains are specified, answers are matched from the entire knowledge base of the user. Currently, a maximum of 10 domains are supported. |
source |
Source of a question, which can be customized and is displayed in Q&A logs. |
return_all_answers |
Whether to return all types of answers.
|
chat_enable |
Whether to enable chit-chat.
|
user_id |
User ID, which is used to identify a user in logs. The value can be any string. |
question |
User input. |
session_id |
Session ID, in UUID format. Example: c04e6f7b-61d7-4a2d-a0c8-f9ecd2f62359. Each time a session is started, the bot creates a session ID. If the ID is passed to the next request, the current session will continue. The validity period of each session is 2 minutes. If the transferred session ID has expired or is empty, the bot creates a new session ID (this may take some time). |
query_types |
Q&A types:
(Optional) If this parameter is left blank, the default bot integration policy is used. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot