pub struct BaseChatModelCaller { /* private fields */ }Expand description
Wraps a ChatModel into a ModelCaller.
Implementations§
Trait Implementations§
Source§impl ModelCaller for BaseChatModelCaller
impl ModelCaller for BaseChatModelCaller
fn call<'life0, 'async_trait>(
&'life0 self,
request: ModelRequest,
) -> Pin<Box<dyn Future<Output = Result<ModelResponse, SynapticError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for BaseChatModelCaller
impl !RefUnwindSafe for BaseChatModelCaller
impl Send for BaseChatModelCaller
impl Sync for BaseChatModelCaller
impl Unpin for BaseChatModelCaller
impl UnsafeUnpin for BaseChatModelCaller
impl !UnwindSafe for BaseChatModelCaller
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more