pub struct Predict {
pub target_response: Option<Vec<String>>,
pub input_index: Option<Vec<String>>,
pub return_number: Option<bool>,
pub text_docs: Option<Vec<String>>,
pub input_query: Option<InputQuery>,
}Fields§
§target_response: Option<Vec<String>>The target response.
input_index: Option<Vec<String>>The input index.
return_number: Option<bool>Whether to return bytes in model output.
text_docs: Option<Vec<String>>The text documents.
input_query: Option<InputQuery>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Predict
impl<'de> Deserialize<'de> for Predict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Predict
Auto Trait Implementations§
impl Freeze for Predict
impl RefUnwindSafe for Predict
impl Send for Predict
impl Sync for Predict
impl Unpin for Predict
impl UnsafeUnpin for Predict
impl UnwindSafe for Predict
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