POST
/
llm-application
/
open
/
v2
/
application
/
slice_info
知识库切片引用位置信息
curl --request POST \
  --url https://open.bigmodel.cn/api/llm-application/open/v2/application/slice_info \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "request_id": "<string>",
  "node_id": "<string>"
}'
{
  "data": {
    "document_slices": [
      {
        "document": {
          "id": "<string>",
          "name": "<string>",
          "url": "<string>",
          "dtype": 123
        },
        "slice_info": [
          {
            "document_id": "<string>",
            "position": {
              "x0": 123,
              "x1": 123,
              "top": 123,
              "bottom": 123,
              "page": 123,
              "height": 123,
              "width": 123
            },
            "line": 123,
            "sheet_name": "<string>",
            "text": "<string>"
          }
        ],
        "hide_positions": true,
        "images": [
          {
            "text": "<string>",
            "cos_url": "<string>"
          }
        ]
      }
    ],
    "has_old_document": true
  },
  "code": 123,
  "message": "<string>",
  "timestamp": 123
}

Authorizations

Authorization
string
header
required

使用以下格式进行身份验证:Bearer <your api key>

Body

application/json

Response

200
application/json

请求成功

The response is of type object.