Skip to main content
Generated from rustdoc JSON at dspy-rs v0.7.3 (commit b5da857). Do not edit by hand; regenerate with python3 docs/scripts/gen_api.py (see the script header for the rustdoc commands). Item links lead to full signatures and method docs on docs.rs.
In-house type system that replaces the vendored BAML stack (bamltype, baml_types, internal_baml_jinja, jsonish).

Re-exports

Modules

Functions

typesys::coerce

Tolerant coercion of raw LM field text into serde_json::Value, guided by FieldType.

Structs

Enums

Functions

typesys::constraint

In-house constraint model + evaluation, replacing BAML’s Constraint / run_user_checks.

Structs

Enums

Functions

Type aliases

typesys::render

Prompt rendering for the in-house type model, replacing BAML’s jinja OutputFormatContent::render and the adapter’s backtick-token pipeline.

Functions

typesys::schema

In-house type model that replaces BAML’s TypeIR / OutputFormatContent.

Structs

Enums

Traits

Functions