mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-06-06 13:49:44 +00:00
Don't need a dead parameter
This commit is contained in:
@@ -130,12 +130,8 @@ def build_document_node(
|
||||
return parser.get_nodes_from_documents([doc])
|
||||
|
||||
|
||||
def load_or_build_index(nodes=None):
|
||||
"""Return a VectorStoreIndex backed by the vector store.
|
||||
|
||||
``nodes`` is accepted for signature compatibility but unused; the store
|
||||
is the source of truth.
|
||||
"""
|
||||
def load_or_build_index():
|
||||
"""Return a VectorStoreIndex backed by the vector store."""
|
||||
import llama_index.core.settings as llama_settings
|
||||
from llama_index.core import VectorStoreIndex
|
||||
|
||||
|
||||
Reference in New Issue
Block a user