t7
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ storage_context = StorageContext.from_defaults(persist_dir="index_dir")
|
|
13 |
# load index
|
14 |
index = load_index_from_storage(storage_context)
|
15 |
|
16 |
-
#
|
17 |
-
|
18 |
|
19 |
|
20 |
|
|
|
13 |
# load index
|
14 |
index = load_index_from_storage(storage_context)
|
15 |
|
16 |
+
# strat a search engine
|
17 |
+
query_engine = index.as_query_engine()
|
18 |
|
19 |
|
20 |
|