Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
fix: Fixed an error arising from an attempted access to the data inge…
Browse files Browse the repository at this point in the history
…stion pipeline docstore.
  • Loading branch information
anirbanbasu committed May 18, 2024
1 parent e5aed32 commit ef679bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ DI_CHUNK_SIZE = "512"
DI_CHUNK_OVERLAP = "64"
DI_ENABLE_TITLE_EXTRACTOR = "False"
DI_TITLE_EXTRACTOR_NODES = "5"
DI_ENABLE_KEYWORD_EXTRACTOR = "True"
DI_ENABLE_KEYWORD_EXTRACTOR = "False"
DI_KEYWORD_EXTRACTOR_KEYWORDS = "10"
DI_ENABLE_QA_EXTRACTOR = "False"
DI_QA_EXTRACTOR_QUESTIONS = "3"
Expand Down
2 changes: 1 addition & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ DI_CHUNK_SIZE = "512"
DI_CHUNK_OVERLAP = "64"
DI_ENABLE_TITLE_EXTRACTOR = "False"
DI_TITLE_EXTRACTOR_NODES = "5"
DI_ENABLE_KEYWORD_EXTRACTOR = "True"
DI_ENABLE_KEYWORD_EXTRACTOR = "False"
DI_KEYWORD_EXTRACTOR_KEYWORDS = "10"
DI_ENABLE_QA_EXTRACTOR = "False"
DI_QA_EXTRACTOR_QUESTIONS = "3"
Expand Down
2 changes: 1 addition & 1 deletion pages/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def build_index_pipeline() -> bool:
nest_asyncio.apply()
chunk_nodes = pipeline.run(documents=ingested_documents.value, show_progress=True)
show_status_message(
message=f"**Building index** from {len(chunk_nodes)} chunks extracted from {len(pipeline.docstore.docs)} document(s).",
message=f"**Building index** from {len(chunk_nodes)} chunks extracted from {len(ingested_documents.value)} document(s).",
timeout=0,
)
global_state.global_knowledge_graph_index.value = KnowledgeGraphIndex(
Expand Down

0 comments on commit ef679bc

Please sign in to comment.