promptforge-tool-picker 0.1.0

PromptForge tool picker: resolve a plain-English capability need to a tool from an abstract catalog
docs.rs failed to build promptforge-tool-picker-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

promptforge-tool-picker

Crates.io docs.rs License

A sentence-embedding resolver that turns a prose description like "read a file from disk" into the tool that does it - no LLM call, no network, no guessing. You describe your tools in prose, build a picker over the catalog, and ask it which tool a need refers to. Querying is a dot product, not an API call. The model is compiled into the library, so there is no path to configure and no weights to ship.

Usage

[dependencies]
promptforge-tool-picker = "0.1"
use promptforge_tool_picker::{ToolId, ToolDescriptor, Catalog, Picker};

let catalog = Catalog::new(vec![
    ToolDescriptor::new(ToolId::new("files", "read_file"), "Read a file from disk", schema),
]);
let picker = Picker::new(&catalog)?;
let decision = picker.pick("read a file")?;

See the PromptForge User Guide for full documentation.

Minimum Rust Version

Rust 1.89 or later.

License

Licensed under the Boost Software License 1.0.