Spaces:
Sleeping
Sleeping
Fix wrong data path
Browse files- rag_benchmark.py +1 -1
rag_benchmark.py
CHANGED
@@ -4,7 +4,7 @@ from temporal_augmented_retrival import get_answer as get_temporal_answer
|
|
4 |
from rag import get_answer as get_rag_answer
|
5 |
from naive_rag import get_answer as get_naive_answer
|
6 |
|
7 |
-
path_to_csv = "
|
8 |
path_to_raw = "stockerbot-export.csv"
|
9 |
df = pd.read_csv(path_to_csv, on_bad_lines='skip').reset_index(drop=True).drop(columns=['Unnamed: 0'])
|
10 |
df["embedding"] = df.embedding.apply(lambda x: eval(x)).to_list()
|
|
|
4 |
from rag import get_answer as get_rag_answer
|
5 |
from naive_rag import get_answer as get_naive_answer
|
6 |
|
7 |
+
path_to_csv = "contenu_embedded_august2023_1.csv"
|
8 |
path_to_raw = "stockerbot-export.csv"
|
9 |
df = pd.read_csv(path_to_csv, on_bad_lines='skip').reset_index(drop=True).drop(columns=['Unnamed: 0'])
|
10 |
df["embedding"] = df.embedding.apply(lambda x: eval(x)).to_list()
|