Update app.py
Browse files
app.py
CHANGED
|
@@ -118,8 +118,8 @@ docs = text_splitter.split_documents(documents=all_doc)
|
|
| 118 |
# Create a Chroma vector database
|
| 119 |
docs_vector_db = Chroma.from_documents(docs, embeddings, persist_directory="chroma_data")
|
| 120 |
|
| 121 |
-
REFS_CSV_PATH =
|
| 122 |
-
REFS_CHROMA_PATH = "./
|
| 123 |
|
| 124 |
loader = CSVLoader(file_path=REFS_CSV_PATH,
|
| 125 |
source_column="Description (what it contains and what it's useful for)")
|
|
|
|
| 118 |
# Create a Chroma vector database
|
| 119 |
docs_vector_db = Chroma.from_documents(docs, embeddings, persist_directory="chroma_data")
|
| 120 |
|
| 121 |
+
REFS_CSV_PATH = "./refs/WEAI reference list - Sheet1.csv"
|
| 122 |
+
REFS_CHROMA_PATH = "./chroma_data"
|
| 123 |
|
| 124 |
loader = CSVLoader(file_path=REFS_CSV_PATH,
|
| 125 |
source_column="Description (what it contains and what it's useful for)")
|