Fix: add file convert backward compatibility (#14583)

### What problem does this PR solve?

add file convert backward compatibility

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
buua436
2026-05-06 15:19:38 +08:00
committed by GitHub
parent e8f19aa338
commit a190a6d67f
2 changed files with 22 additions and 1 deletions

View File

@@ -7430,6 +7430,10 @@ or
```bash
curl --request POST \
--url http://{address}/api/v1/files/link-to-datasets \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--data '{
"file_ids": ["file_id_1", "file_id_2"],
"kb_ids": ["dataset_id_1", "dataset_id_2"]
}'
```