Trait TextInput

Source
pub trait TextInput<'s> {
    type InputType: Into<EncodeInput<'s>> + Send;

    // Required method
    fn into_encode_input(self) -> Vec<Self::InputType>;
}
Expand description

Input text abstraction, use embed::input::TextInput or rerank::input::TextInput implementations.

Required Associated Types§

Required Methods§

Implementors§

Source§

impl TextInput<'_> for gte::embed::input::TextInput

Source§

impl TextInput<'_> for gte::rerank::input::TextInput