From bff256c5aac11aca8020086d0ffe2f6291a59e67 Mon Sep 17 00:00:00 2001 From: Rahmani mohamed rami <123117552+Ramyrahmeni@users.noreply.github.com> Date: Sat, 22 Jun 2024 12:19:43 +0100 Subject: [PATCH] code cleaning --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index e352543..362798b 100644 --- a/app.py +++ b/app.py @@ -112,7 +112,7 @@ def ask(query, tables,embedding_model, embeddings, pages_and_chunks): # Create a list of context items context_items = [pages_and_chunks[i] for i in indices] - context_items = re_rank(query, context_items) + #context_items = re_rank(query, context_items) print(context_items) # Add score to context item for i, item in enumerate(context_items):