Phoenix21 commited on
Commit
d564fcf
·
verified ·
1 Parent(s): ae2e497

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -141,7 +141,7 @@ def build_or_load_vectorstore(csv_path: str, store_dir: str) -> FAISS:
141
  df.columns = df.columns.str.strip()
142
 
143
  docs = [
144
- Document(page_content=str(row["Answers"]), metadata={"question": str(row["Question"])})
145
  for _, row in df.iterrows()
146
  ]
147
 
 
141
  df.columns = df.columns.str.strip()
142
 
143
  docs = [
144
+ Document(page_content=str(row["Answer"]), metadata={"question": str(row["Question"])})
145
  for _, row in df.iterrows()
146
  ]
147