Add documentation

Co-Authored-By: Louis Dureuil <louis.dureuil@xinra.net>
This commit is contained in:
Mubelotix
2025-08-01 12:11:32 +02:00
parent 233e4a1020
commit 1507403596

View File

@ -167,6 +167,7 @@ fn truncate(s: &mut String, max_bytes: usize) {
}
}
/// Build the liquid objects corresponding to the `doc` and `fields` object of a [`Prompt`] from the given external document id.
pub fn get_document(
index: &Index,
rtxn: &RoTxn<'_>,