This commit is contained in:
parent
3f0f27a42f
commit
c377ffd741
|
|
@ -8,6 +8,7 @@ from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|||
from llama_index.vector_stores.faiss import FaissVectorStore
|
||||
from app.core.config import settings # 导入应用配置
|
||||
from scripts.permissions import get_user_allowed_indexes # 导入权限函数,管理用户索引
|
||||
import numpy as np
|
||||
|
||||
USER_INDEX_PATH = "index_data" # 用户索引存储路径
|
||||
USER_DOC_PATH = "docs" # 用户文档存储路径
|
||||
|
|
|
|||
Loading…
Reference in New Issue