This commit is contained in:
hailin 2025-05-10 11:03:33 +08:00
parent 3f0f27a42f
commit c377ffd741
1 changed files with 1 additions and 0 deletions

View File

@ -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" # 用户文档存储路径