rig-core 0.41.0

An opinionated library for building LLM powered applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Portable tool contracts and canonical execution values.
//!
//! The context-free [`PortableTool`] boundary can be adapted by any runtime
//! without importing a registry, mutable context, lifecycle state, or executor.

pub mod builtin;
mod output;
pub mod portable;
mod result;
pub use output::{IntoToolOutput, ToolOutput};
pub use portable::{
    PortableDynamicTool, PortableTool, PortableToolEmbedding, portable_tool_definition,
};
pub use result::{ToolErrorKind, ToolExecutionError, ToolResult};