(&mut self, vector: Vec<f32>)
| 48 | } |
| 49 | |
| 50 | pub fn with_query_vector(&mut self, vector: Vec<f32>) -> &mut Self { |
| 51 | self.query_vector = Some(vector); |
| 52 | self |
| 53 | } |
| 54 | |
| 55 | pub fn with_limit(&mut self, limit: usize) -> &mut Self { |
| 56 | self.limit = Some(limit); |