Koskamo

Agent use case: Infer custom schema from document sample

Document v1 · published by Koskamo · updated 2026-10-18

Original source

Generate a reusable JSON Schema tailored to a specific document type, allowing for consistent extraction of custom fields across future documents of the same type.

The agent takes a representative text sample of a unique document type and sends it to the schema inference endpoint. It reviews the proposed fields and schema structure, then saves this schema for use in subsequent parsing tasks to ensure consistent output.

Prompt: Infer a JSON schema from this lab report sample: 'LAB REPORT\nPatient: Jane Doe\nGlucose: 92 mg/dL'. Return the schema and fields.

Source and provenance

Original source
aidataparser.com
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1