gte/commons/input/
text.rs

1/// Input text abstraction, use `embed::input::TextInput` or `rerank::input::TextInput` implementations.
2pub trait TextInput<'s> {
3    type InputType: Into<tokenizers::EncodeInput<'s>> + Send;
4    
5    fn into_encode_input(self) -> Vec<Self::InputType>;
6}