Skip to content

Oxyjen v0.3 - Prompt Intelligence & Structured Output

Choose a tag to compare

@11divyansh 11divyansh released this 06 Feb 17:02
· 350 commits to main since this release

Oxyjen v0.3 introduces structured intelligence to Java AI pipelines.

This release focuses on reliable prompt composition and guaranteed JSON outputs, enabling production-safe LLM workflows.

Highlights

Prompt Intelligence

  • Reusable PromptTemplate with Variable substitution
  • Required and optional variables with defaults and multiline prompts with validation

Structured Output

  • JSONSchema definition API
  • Property types: string, number, boolean, enum
  • Required field enforcement
  • Type and enum validation

Schema Enforcement

  • Automatic retry until valid JSON is produced with structured validation errors
  • Feedback driven retries and configurable max attempts
  • SchemaEnforcer and SchemaNode

Graph Integration

  • SchemaNode integrates directly into Oxyjen graphs and composable with existing nodes

Reliability Layer

  • Timeout enforcement brought into this version which was earlier just a policy
  • Jitter support and backoff caps to handle thundering herd

What This Enables

  • Deterministic JSON outputs from LLMs using Schema driven extraction and classification
  • Contract based AI pipelines and Prompt reuse at scale
  • Production safe retries and timeouts