allinaigc commited on
Commit
c1c0b74
·
1 Parent(s): 37443e4

Update localKB_construct.py

Browse files
Files changed (1) hide show
  1. localKB_construct.py +2 -1
localKB_construct.py CHANGED
@@ -103,6 +103,7 @@ def process_file(file_path,username):
103
  index, service_context = construct_index(file_path)
104
  # index.storage_context.persist(persist_dir="/Users/yunshi/Downloads/txt_dir/") #* 存储到本地,为以后调用。
105
  index.storage_context.persist(persist_dir=f"./{username}/") #* 存储到本地,为以后调用。
106
- print(index)
 
107
 
108
  # process_file(file_path)
 
103
  index, service_context = construct_index(file_path)
104
  # index.storage_context.persist(persist_dir="/Users/yunshi/Downloads/txt_dir/") #* 存储到本地,为以后调用。
105
  index.storage_context.persist(persist_dir=f"./{username}/") #* 存储到本地,为以后调用。
106
+ print('llama_index now:',index)
107
+ print('username:', username)
108
 
109
  # process_file(file_path)