DynChatModelExt

Trait DynChatModelExt 

Source
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§

Source

fn bind_tools( self, tools: Vec<Arc<dyn Tool + Send + Sync>>, ) -> DynBoundChatModel

Bind tools to this chat model, returning a dynamically-typed bound model.

Implementations on Foreign Types§

Source§

impl DynChatModelExt for Arc<dyn ChatModel>

Source§

fn bind_tools( self, tools: Vec<Arc<dyn Tool + Send + Sync>>, ) -> DynBoundChatModel

Implementors§