systemprompt-ai 0.21.1

Provider-agnostic LLM integration for systemprompt.io AI governance — Anthropic, OpenAI, Gemini, and local models unified behind one governed pipeline with cost tracking and audit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Tool-aware generation pipeline — executes tool calls, formats results
//! for the model, and synthesises the final response. See
//! [`crate::ToolResultFormatter`].
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

pub mod executor;
pub mod formatter;
pub mod synthesizer;

pub use executor::{ResponseStrategy, TooledExecutor};
pub use formatter::ToolResultFormatter;
pub use synthesizer::{
    FallbackGenerator, FallbackReason, ResponseSynthesizer, SynthesisParams,
    SynthesisPromptBuilder, SynthesisResult,
};