From 687d92f217a450ad30685ccc351b00796f624bd3 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Thu, 7 Dec 2023 23:05:04 +0100 Subject: [PATCH] prompt bifluor+ --- .../update/index_documents/extract/extract_vector_points.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/milli/src/update/index_documents/extract/extract_vector_points.rs b/milli/src/update/index_documents/extract/extract_vector_points.rs index 8399c220b..d8d6c933c 100644 --- a/milli/src/update/index_documents/extract/extract_vector_points.rs +++ b/milli/src/update/index_documents/extract/extract_vector_points.rs @@ -172,10 +172,11 @@ pub fn extract_vector_points( prompt.render(obkv, DelAdd::Addition, &field_id_map)?; if old_prompt != new_prompt { log::trace!( - "Changing prompt from\n{old_prompt}\n===\nto\n{new_prompt}" + "🚀 Changing prompt from\n{old_prompt}\n===to===\n{new_prompt}" ); VectorStateDelta::NowGenerated(new_prompt) } else { + log::trace!("⏭️ Prompt unmodified, skipping"); VectorStateDelta::NoChange } } @@ -204,10 +205,11 @@ pub fn extract_vector_points( let new_prompt = prompt.render(obkv, DelAdd::Addition, &field_id_map)?; if old_prompt != new_prompt { log::trace!( - "Changing prompt from\n{old_prompt}\n===\nto\n{new_prompt}" + "🚀 Changing prompt from\n{old_prompt}\n===to===\n{new_prompt}" ); VectorStateDelta::NowGenerated(new_prompt) } else { + log::trace!("⏭️ Prompt unmodified, skipping"); VectorStateDelta::NoChange } }