Expand description
Determinishtic: Blend deterministic Rust code with LLM-powered reasoning.
This library provides a builder-style API for constructing prompts that can invoke Rust closures as MCP tools, enabling seamless interleaving of structured code and natural language processing.
§Example
ⓘ
use determinishtic::Determinishtic;
use sacp::ConnectTo;
let d = Determinishtic::new(component).await?;
let name = "Alice";
let result: String = d.think()
.text("Say hello to")
.display(&name)
.text("in a friendly way.")
.await?;Structs§
- Determinishtic
- The main entry point for determinishtic operations.
- Think
Builder - Builder for composing LLM prompts with embedded tools.
Enums§
- Error
- Errors that can occur during patchwork operations.
Traits§
- Think
Observer - Observer for session updates during a think block.