pub enum InputType {
SearchDocument,
SearchQuery,
Classification,
Clustering,
}Expand description
The type of input being embedded, used by providers that support it.
Variants§
SearchDocument
Document for search indexing.
SearchQuery
Query for search retrieval.
Classification
Text for classification.
Clustering
Text for clustering.
Trait Implementations§
impl Copy for InputType
impl Eq for InputType
impl StructuralPartialEq for InputType
Auto Trait Implementations§
impl Freeze for InputType
impl RefUnwindSafe for InputType
impl Send for InputType
impl Sync for InputType
impl Unpin for InputType
impl UnsafeUnpin for InputType
impl UnwindSafe for InputType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more