implements the new analytics for the get documents routes

This commit is contained in:
Tamo 2024-06-06 11:29:16 +02:00
parent 2cdcb703d9
commit 63dded3961
3 changed files with 21 additions and 7 deletions

View file

@ -74,8 +74,8 @@ pub enum DocumentDeletionKind {
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum DocumentFetchKind {
PerDocumentId,
Normal { with_filter: bool, limit: usize, offset: usize },
PerDocumentId { retrieve_vectors: bool },
Normal { with_filter: bool, limit: usize, offset: usize, retrieve_vectors: bool },
}
pub trait Analytics: Sync + Send {