pub trait CompletionClientDyn {
// Required methods
fn completion_model<'a>(
&self,
model: &str,
) -> Box<dyn CompletionModelDyn + 'a>;
fn agent<'a>(&self, model: &str) -> AgentBuilder<CompletionModelHandle<'a>>;
}๐Deprecated since 0.25.0:
DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use CompletionClient instead.Required Methodsยง
Sourcefn completion_model<'a>(&self, model: &str) -> Box<dyn CompletionModelDyn + 'a>
๐Deprecated since 0.25.0: DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use CompletionClient instead.
fn completion_model<'a>(&self, model: &str) -> Box<dyn CompletionModelDyn + 'a>
DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use CompletionClient instead.Create a completion model with the given name.
Sourcefn agent<'a>(&self, model: &str) -> AgentBuilder<CompletionModelHandle<'a>>
๐Deprecated since 0.25.0: DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use CompletionClient instead.
fn agent<'a>(&self, model: &str) -> AgentBuilder<CompletionModelHandle<'a>>
DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use CompletionClient instead.Create an agent builder with the given completion model.