markhor_core 0.1.0-alpha.0.2

Core library for Markhor, a project connecting AI models, documents, and workflows for knowledge work
Documentation
1
2
3
4
5
6
7
8


pub trait Tool {
    fn name(&self) -> &str;
    fn description(&self) -> String;
    fn parameters(&self) -> serde_json::Value;
    fn execute(&self, arguments: serde_json::Value) -> Result<serde_json::Value, String>;
}