pub trait DynChatModelExt {
// Required method
fn bind_tools(
self,
tools: Vec<Arc<dyn Tool + Send + Sync>>,
) -> DynBoundChatModel;
}Expand description
Extension methods for Arc<dyn ChatModel>.
Required Methods§
Sourcefn bind_tools(
self,
tools: Vec<Arc<dyn Tool + Send + Sync>>,
) -> DynBoundChatModel
fn bind_tools( self, tools: Vec<Arc<dyn Tool + Send + Sync>>, ) -> DynBoundChatModel
Bind tools to this chat model, returning a dynamically-typed bound model.