Shapecraft Extends Structured AI Output to Healthcare, Agents, and CI Pipelines
Shapecraft, a structured output library by Aviasole Technologies, offers capabilities beyond basic single-prompt data extraction for developers building with large language models. Its turnaround mode validates entire multi-turn conversations against a single schema at the end, eliminating manual state tracking across back-and-forth exchanges. The library includes built-in FHIR R4 presets for healthcare data, a generateWithTools() function for validated tool-calling workflows, and a runAgents() pipeline that chains multiple models with schema validation at each step. A CLI command also allows developers to validate existing output files against a schema, making it suitable for CI pipeline checks without additional scripting. All features share the same core retry-and-validate mechanism, and full documentation is available at aviasoletechnologies.github.io/shapecraft.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in