Skip to content

Commit

Permalink
🚧 added tracing log in reranking
Browse files Browse the repository at this point in the history
  • Loading branch information
rathijitpapon committed Jul 2, 2024
1 parent 098c386 commit bb85335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/rag/post_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use regex::Regex;
use std::cmp::Ordering;
use tokio::sync::mpsc::Sender;

#[tracing::instrument(level = "info", ret)]
pub fn rerank_search_results(
query_embeddings: &Embeddings,
results_embeddings: &Vec<Embeddings>,
Expand Down

0 comments on commit bb85335

Please sign in to comment.