diff --git a/scripts/rag_build_query.py b/scripts/rag_build_query.py index e412629..c33d7d9 100644 --- a/scripts/rag_build_query.py +++ b/scripts/rag_build_query.py @@ -135,9 +135,6 @@ def build_user_index(user_id: str): ) try: - # 禁用 LLM - Settings.llm = None - # 构建索引,并使用 `storage_context.persist()` 方法保存索引 index = VectorStoreIndex.from_documents( documents,