Creates a digital employee.
Operation description
Creates a digital employee.
Try it now
Test
RAM authorization
Request syntax
POST /digital-employee HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The structure of the digital employee. |
|
| defaultRule |
string |
No |
The default rule. |
test |
| description |
string |
No |
The description of the digital employee. |
aaa |
| displayName |
string |
No |
The display name of the digital employee. |
digial-employee-test |
| roleArn |
string |
Yes |
The Alibaba Cloud Resource Name (ARN) of the RAM role. |
acs:ram::12345678912:role/testrole |
| name |
string |
Yes |
The name of the digital employee. |
test |
| knowledges |
object |
No |
The list of knowledge bases. |
|
| bailian |
array<object> |
No |
The list of Bailian knowledge bases. |
|
|
object |
No |
A Bailian knowledge base. |
||
| workspaceId |
string |
No |
The ID of the Bailian workspace. |
llm-xxxxx |
| indexId |
string |
No |
The ID of the Bailian index. |
index-xxxx |
| region |
string |
No |
The region of the Bailian knowledge base. |
cn-beijing |
| attributes |
string |
No |
The properties of the knowledge base. |
test |
| sop |
array<object> |
No |
The list of Standard Operating Procedure (SOP) knowledge bases. |
|
|
object |
No |
An SOP knowledge base. |
{ "type": "oss", "basePath": "docs/", "region": "cn-hangzhou", "endpoint": "oss-cn-hangzhou.aliyuncs.com", "bucket": "my-sop-bucket", "description": "sls sop" } |
|
| resourceGroupId |
string |
No |
The ID of the resource group. |
rg-ae******ey |
| tags |
array |
No |
The tags. |
|
| Tag |
No |
A tag. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
3B311FD9-A60B-55E0-A896-A0C73********* |
| name |
string |
The name of the digital employee. |
test |
Examples
Success response
JSON format
{
"requestId": "3B311FD9-A60B-55E0-A896-A0C73*********",
"name": "test"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.