pub trait ToolEmbeddingDyn: ToolDyn {
// Required methods
fn context(&self) -> Result<Value>;
fn embedding_docs(&self) -> Vec<String>;
}
Expand description
Wrapper trait to allow for dynamic dispatch of raggable tools
pub trait ToolEmbeddingDyn: ToolDyn {
// Required methods
fn context(&self) -> Result<Value>;
fn embedding_docs(&self) -> Vec<String>;
}
Wrapper trait to allow for dynamic dispatch of raggable tools