Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
|
|
15 |
def initialize_vector_store_index(
|
16 |
|
17 |
):
|
18 |
-
documents = SimpleDirectoryReader("./").load_data()
|
19 |
# build index
|
20 |
index = VectorStoreIndex.from_documents(documents)
|
21 |
return index
|
|
|
15 |
def initialize_vector_store_index(
|
16 |
|
17 |
):
|
18 |
+
documents = SimpleDirectoryReader("./document/management/").load_data()
|
19 |
# build index
|
20 |
index = VectorStoreIndex.from_documents(documents)
|
21 |
return index
|