This commit is contained in:
parent
15b5d1d707
commit
5da1f8579d
|
|
@ -9,7 +9,8 @@ from llama_index.vector_stores.faiss import FaissVectorStore
|
||||||
from app.core.config import settings # 导入应用配置
|
from app.core.config import settings # 导入应用配置
|
||||||
from scripts.permissions import get_user_allowed_indexes # 导入权限函数,管理用户索引
|
from scripts.permissions import get_user_allowed_indexes # 导入权限函数,管理用户索引
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from llama_index.core import Node
|
from llama_index.data_structs.node import Node
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
USER_INDEX_PATH = "index_data" # 用户索引存储路径
|
USER_INDEX_PATH = "index_data" # 用户索引存储路径
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue