Spaces:
Runtime error
Runtime error
Update ai_assistant.py
Browse files- ai_assistant.py +1 -0
ai_assistant.py
CHANGED
@@ -6,6 +6,7 @@ from langchain_community.vectorstores import FAISS
|
|
6 |
from langchain.storage import LocalFileStore
|
7 |
from langchain.chains import RetrievalQA
|
8 |
from langchain_openai import ChatOpenAI
|
|
|
9 |
|
10 |
def create_index():
|
11 |
# Load the data from CSV file
|
|
|
6 |
from langchain.storage import LocalFileStore
|
7 |
from langchain.chains import RetrievalQA
|
8 |
from langchain_openai import ChatOpenAI
|
9 |
+
from langchain_core.callbacks import StdOutCallbackHandler
|
10 |
|
11 |
def create_index():
|
12 |
# Load the data from CSV file
|