Introduce a new route to export documents and enqueue the export task

This commit is contained in:
Clément Renault
2025-06-12 16:23:48 +02:00
committed by Kerollmops
parent ae8c1461e1
commit e74c3b692a
14 changed files with 303 additions and 10 deletions

View File

@ -289,6 +289,9 @@ fn snapshot_details(d: &Details) -> String {
Details::IndexSwap { swaps } => {
format!("{{ swaps: {swaps:?} }}")
}
Details::Export { url, api_key, exported_documents, skip_embeddings } => {
format!("{{ url: {url:?}, api_key: {api_key:?}, exported_documents: {exported_documents:?}, skip_embeddings: {skip_embeddings:?} }}")
}
Details::UpgradeDatabase { from, to } => {
format!("{{ from: {from:?}, to: {to:?} }}")
}