This commit is contained in:
parent
636bd451f5
commit
b29b3ef6bc
|
|
@ -135,9 +135,6 @@ def build_user_index(user_id: str):
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# 禁用 LLM
|
|
||||||
Settings.llm = None
|
|
||||||
|
|
||||||
# 构建索引,并使用 `storage_context.persist()` 方法保存索引
|
# 构建索引,并使用 `storage_context.persist()` 方法保存索引
|
||||||
index = VectorStoreIndex.from_documents(
|
index = VectorStoreIndex.from_documents(
|
||||||
documents,
|
documents,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue