Trait ConversationsApi
Source pub trait ConversationsApi: Send + Sync {
// Required methods
fn create_conversation_model<'life0, 'async_trait>(
&'life0 self,
params: CreateConversationModelParams,
) -> Pin<Box<dyn Future<Output = Result<ConversationModelSchema, Error<CreateConversationModelError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_conversation_model<'life0, 'async_trait>(
&'life0 self,
params: DeleteConversationModelParams,
) -> Pin<Box<dyn Future<Output = Result<ConversationModelSchema, Error<DeleteConversationModelError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn retrieve_all_conversation_models<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<ConversationModelSchema>, Error<RetrieveAllConversationModelsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn retrieve_conversation_model<'life0, 'async_trait>(
&'life0 self,
params: RetrieveConversationModelParams,
) -> Pin<Box<dyn Future<Output = Result<ConversationModelSchema, Error<RetrieveConversationModelError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_conversation_model<'life0, 'async_trait>(
&'life0 self,
params: UpdateConversationModelParams,
) -> Pin<Box<dyn Future<Output = Result<ConversationModelSchema, Error<UpdateConversationModelError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}