Spaces:
Runtime error
Runtime error
Update ai_assistant.py
Browse files- ai_assistant.py +1 -1
ai_assistant.py
CHANGED
|
@@ -9,7 +9,7 @@ from langchain_openai import ChatOpenAI
|
|
| 9 |
|
| 10 |
def create_index():
|
| 11 |
# Load the data from CSV file
|
| 12 |
-
data_loader = CSVLoader(file_path="
|
| 13 |
data = data_loader.load()
|
| 14 |
|
| 15 |
# Create the embeddings model
|
|
|
|
| 9 |
|
| 10 |
def create_index():
|
| 11 |
# Load the data from CSV file
|
| 12 |
+
data_loader = CSVLoader(file_path="data.csv")
|
| 13 |
data = data_loader.load()
|
| 14 |
|
| 15 |
# Create the embeddings model
|