This commit is contained in:
parent
fd4c0604e1
commit
15b5d1d707
|
|
@ -9,6 +9,7 @@ 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
|
||||||
|
|
||||||
|
|
||||||
USER_INDEX_PATH = "index_data" # 用户索引存储路径
|
USER_INDEX_PATH = "index_data" # 用户索引存储路径
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue