package chatoyant

  1. Overview
  2. Docs
OCaml-first LLM SDK with Melange-generated JavaScript

Install

dune-project
 Dependency

Authors

Maintainers

Sources

chatoyant-v0.13.0.tbz
sha256=1f84c5229b2d58ec6264dd651a58f2686130afa6e91989f110aa7aaf10bba0f5
sha512=49142e122dbb44b03f7f27b52839492800332207d0efeacc7451173827c899a9b965b671a3d9028cc05250aaebbc6789d3815a6cf356f4319bc0c1b0454c68dd

doc/chatoyant.schema/Chatoyant_schema/Json_schema/index.html

Module Chatoyant_schema.Json_schemaSource

Standalone JSON Schema implementation.

The initial dialect target is draft 2020-12. The module is structured as a standalone package surface so Chatoyant tool/structured-output code can use it without depending on provider modules.

Sourcemodule Ast : sig ... end

Lossless JSON Schema AST.

Sourcemodule Pointer : sig ... end

JSON Pointer and URI-fragment helpers used by $ref.

Sourcemodule Resolver : sig ... end

Schema resource registry and $ref resolution.

Sourcemodule Output : sig ... end

Structured validation output.

Sourcemodule Validator : sig ... end

Draft 2020-12 validation engine.

Sourcemodule Project : sig ... end

Deterministic provider-oriented schema projections.

Sourcetype t = Ast.t
Sourceval of_string : string -> (t, Ast.parse_error) result
Sourceval to_string : t -> string