Intelliscribe
Access Intelliscribe through client.intelliscribe in the Datature Vi SDK.
Intelliscribe runs the platform's automatic annotation models against a dataset's assets, producing draft annotations that a human reviewer can accept, edit, or reject. The resource exposes a single generate() endpoint that kicks off a generation run.
- Vi SDK installed with authentication configured
- An existing dataset with assets uploaded
- Familiarity with AI-assisted annotation tools
Intelliscribe output is a starting point for human review, not finished labels. Review generated annotations before training on them.
Methods
generate()
Trigger Intelliscribe to generate predictions for a dataset.
result = client.intelliscribe.generate(
dataset_id="dataset_abc123",
body={"spec": {"taskType": "phrase-grounding"}},
)
print(result)result = client.intelliscribe.generate(
dataset_id="dataset_abc123",
body={"spec": {"taskType": "vqa"}},
)
for prediction in result:
print(prediction)from vi.client.errors import ViOperationError, ViValidationError
try:
result = client.intelliscribe.generate(
dataset_id="dataset_abc123",
body={"spec": {"taskType": "phrase-grounding"}},
)
print(f"Generated {len(result)} predictions")
except ViValidationError as err:
print(f"Invalid request: {err}")
except ViOperationError as err:
print(f"Generation failed: {err}")Returns: list. Prediction outputs. The element shape depends on the task type (VQA, phrase grounding, or caption).
Raises: ViValidationError if dataset_id is invalid or body is empty. ViOperationError if the API returns an unexpected response shape.
list()
Intelliscribe does not expose a listing endpoint. client.intelliscribe.list() exists only to satisfy the shared resource interface and always raises ViOperationError. Use generate() instead.
Response format
generate() returns a list of prediction documents. The shape of each element depends on the task type requested.
Related resources
Updated 1 day ago
