instructor_dart 0.1.1
instructor_dart: ^0.1.1 copied to clipboard
Typed, validated structured outputs from LLMs. Build a JSON Schema in plain Dart, with automatic validation and repair retries. No code generation.
0.1.1 #
- Expand the package description to name what the package does in the words people search for. No code changes.
0.1.0 #
Initial release.
- Plain-Dart schema builder rendering to JSON Schema: objects, strings, integers, numbers, booleans, enums, lists, nesting, optional properties, length/range/pattern constraints.
- Local validation with JSONPath-style violation reporting.
Instructor.extract/extractRawwith an automatic repair loop that feeds validation errors back to the model.OpenAIAdapterfor OpenAI and OpenAI-compatible servers (Ollama, LM Studio, vLLM, OpenRouter), using forced tool calls.AnthropicAdapterfor the Anthropic Messages API, using forced tool use.ExtractionExceptionwith full attempt history.