bookclerk_plugin_abi::plugin_capnp::ai_model
pub struct Owned(/* private */);
Implements: Clone, Copy, Introspect, Owned, OwnedStruct, Pipelined, SetterInput<Owned>
pub struct Reader<'a> {
/* private fields */
}
pub fn reborrow(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_model_id(self) -> Result<Reader<'a>>
pub fn has_model_id(&self) -> bool
pub fn get_task(self) -> Result<AiTask, NotInSchema>
pub fn get_revision(self) -> Result<Reader<'a>>
pub fn has_revision(&self) -> bool
pub fn get_dimensions(self) -> u32
pub fn get_max_tokens(self) -> u32
pub fn get_languages(self) -> Result<Reader<'a>>
pub fn has_languages(&self) -> bool
Implements: Clone, Copy, Debug, From<Reader<'a>>, From<StructReader<'a>>, FromPointerReader<'a>, HasTypeId, Imbue<'a>, IntoInternalStructReader<'a>, SetterInput<Owned>
pub struct Builder<'a> {
/* private fields */
}
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_model_id(self) -> Result<Builder<'a>>
pub fn set_model_id(&mut self, value: impl SetterInput<Owned>)
pub fn init_model_id(self, size: u32) -> Builder<'a>
pub fn has_model_id(&self) -> bool
pub fn get_task(self) -> Result<AiTask, NotInSchema>
pub fn set_task(&mut self, value: AiTask)
pub fn get_revision(self) -> Result<Builder<'a>>
pub fn set_revision(&mut self, value: impl SetterInput<Owned>)
pub fn init_revision(self, size: u32) -> Builder<'a>
pub fn has_revision(&self) -> bool
pub fn get_dimensions(self) -> u32
pub fn set_dimensions(&mut self, value: u32)
pub fn get_max_tokens(self) -> u32
pub fn set_max_tokens(&mut self, value: u32)
pub fn get_languages(self) -> Result<Builder<'a>>
pub fn set_languages(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_languages(self, size: u32) -> Builder<'a>
pub fn has_languages(&self) -> bool
Implements: From<Builder<'a>>, From<StructBuilder<'a>>, FromPointerBuilder<'a>, HasStructSize, HasTypeId, ImbueMut<'a>
pub struct Pipeline {
/* private fields */
}
Implements: FromTypelessPipeline
Generated from crates/bookclerk-plugin-abi at main · View as Markdown