instructor_dart 0.1.2 copy "instructor_dart: ^0.1.2" to clipboard
instructor_dart: ^0.1.2 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.2 #

  • Docs: tightened the README wording and visuals.

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 / extractRaw with an automatic repair loop that feeds validation errors back to the model.
  • OpenAIAdapter for OpenAI and OpenAI-compatible servers (Ollama, LM Studio, vLLM, OpenRouter), using forced tool calls.
  • AnthropicAdapter for the Anthropic Messages API, using forced tool use.
  • ExtractionException with full attempt history.
0
likes
0
points
1.34k
downloads

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

Typed, validated structured outputs from LLMs. Build a JSON Schema in plain Dart, with automatic validation and repair retries. No code generation.

Repository (GitHub)
View/report issues

Topics

#llm #structured-output #openai #anthropic #ollama

License

unknown (license)

Dependencies

http

More

Packages that depend on instructor_dart