pub struct BatchTextQueryResponse {
pub results: Vec<Vec<TextSearchResult>>,
pub model: EmbeddingModelType,
pub embedding_time_ms: u64,
pub search_time_ms: u64,
}Expand description
Response from batch text query
Fields§
§results: Vec<Vec<TextSearchResult>>Results for each query
model: EmbeddingModelTypeEmbedding model used
embedding_time_ms: u64Total time for embedding generation (ms)
search_time_ms: u64Total time for search (ms)
Trait Implementations§
Source§impl Debug for BatchTextQueryResponse
impl Debug for BatchTextQueryResponse
Source§impl<'de> Deserialize<'de> for BatchTextQueryResponse
impl<'de> Deserialize<'de> for BatchTextQueryResponse
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
Auto Trait Implementations§
impl Freeze for BatchTextQueryResponse
impl RefUnwindSafe for BatchTextQueryResponse
impl Send for BatchTextQueryResponse
impl Sync for BatchTextQueryResponse
impl Unpin for BatchTextQueryResponse
impl UnsafeUnpin for BatchTextQueryResponse
impl UnwindSafe for BatchTextQueryResponse
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