MiaoBi provides a factuality audit capability that verifies facts using web search and supports custom configuration of search source URLs.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details are as follows:
- Action: the specific permission point.
- Access level: the access level of each action. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the action. Details are as follows:
- For required resource types, an asterisk (*) is added as a prefix.
- For actions that do not support resource-level authorization,
All resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Related action: other permissions required to successfully perform the action. The caller must also have the permissions of the related actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Related action |
|---|---|---|---|---|
| aimiaobi:SubmitFactAuditUrl | create | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | Unique identifier of the Alibaba Cloud Model Studio workspace: get the workspace ID (Workspace ID) | llm-xx |
| Url | string | Yes | The URL of the information source you want to use for factuality audit. After you add a source URL using this operation, the factuality audit retrieves information only from your configured list of URLs. If you do not add any URL, audit information is retrieved from the entire web by default. You can configure up to 10 source URLs. | https://aliyun.com |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | F2F366D6-E9FE-1006-BB70-2C650896AAB5 |
| Success | boolean | Indicates whether this request is successful | true |
| Code | string | Status code | DataNotExists |
| Message | string | Error description | success |
| HttpStatusCode | integer | HTTP status code | 200 |
| Data | string | Success message indicating that the URL was added. | SUCCESSED |
Examples
Success response
JSON format