from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.split(
document={
"id": "id",
"file_name": "fileName",
},
split_description=[{
"description": "description",
"name": "name",
}],
)
print(response.async_result_id){
"asyncResultId": "<string>"
}Initiates an asynchronous document splitting process. Returns an ID to track the async result.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.split(
document={
"id": "id",
"file_name": "fileName",
},
split_description=[{
"description": "description",
"name": "name",
}],
)
print(response.async_result_id){
"asyncResultId": "<string>"
}Optional split rules prompt for the splitter.
Accepted. Document splitting process initiated.
Accepted. Document splitting process initiated.
The ID to track the asynchronous splitting task.