1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [{
9 "rawText": """1
1000:00:00,000 --> 00:00:02,000
11Deterministic subtitle health fixture.
12
132
1400:00:02,000 --> 00:00:04,000
15The same input produces the same stable chunk identifiers.""",
16 "sourceName": "apify-health-fixture",
17 }] }
18
19
20run = client.actor("skilled_glee/subtitle-rag-chunker").call(run_input=run_input)
21
22
23print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
24for item in client.dataset(run.default_dataset_id).iterate_items():
25 print(item)
26
27