mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Add a warning to indicate that Khoj is not configured to work with personal data sources
This commit is contained in:
@@ -707,7 +707,9 @@ async def extract_references_and_questions(
|
|||||||
inferred_queries = []
|
inferred_queries = []
|
||||||
|
|
||||||
if state.content_index is None:
|
if state.content_index is None:
|
||||||
logger.warn("No content index loaded. Cannot extract references from knowledge base.")
|
logger.warn(
|
||||||
|
"No content index loaded, so cannot extract references from knowledge base. Please configure your data sources and update the index to chat with your notes."
|
||||||
|
)
|
||||||
return compiled_references, inferred_queries
|
return compiled_references, inferred_queries
|
||||||
|
|
||||||
if conversation_type == "notes":
|
if conversation_type == "notes":
|
||||||
|
|||||||
Reference in New Issue
Block a user