Crate simplify_baml

Crate simplify_baml 

Source

Re-exports§

pub use ir::BamlSchema;
pub use ir::BamlValue;
pub use ir::Class;
pub use ir::Enum;
pub use ir::Field;
pub use ir::FieldType;
pub use ir::Function;
pub use ir::IR;
pub use ir::TaggedEnum;
pub use ir::TaggedVariant;
pub use client::DynLLMClient;
pub use client::LLMClient;
pub use client::LLMClientTrait;
pub use client::MockLLMClient;
pub use client::ProviderPreferences;
pub use runtime::BamlRuntime;
pub use runtime::RuntimeBuilder;
pub use runtime::generate_prompt_from_ir;
pub use runtime::parse_llm_response_with_ir;
pub use runtime::try_parse_partial_response;
pub use runtime::update_streaming_response;
pub use registry::BamlSchemaRegistry;
pub use partial_parser::try_parse_partial_json;
pub use streaming_value::StreamingBamlValue;
pub use streaming_value::CompletionState;

Modules§

client
ir
Simplified BAML Runtime
parser
partial_parser
registry
renderer
runtime
schema
streaming_value

Attribute Macros§

baml_function
Attribute macro for defining BAML functions

Derive Macros§

DeriveBamlClient
Derive macro for automatically implementing LLM client configuration
DeriveBamlSchema
Derive macro for automatically implementing the BamlSchema trait