From 3646fd14494613be5c41abdbca3c9a6e295104a1 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 30 Jul 2023 18:52:10 -0700 Subject: [PATCH] Add a warning to indicate that Khoj is not configured to work with personal data sources --- src/khoj/routers/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/khoj/routers/api.py b/src/khoj/routers/api.py index 03f4d0de..7bc2da7e 100644 --- a/src/khoj/routers/api.py +++ b/src/khoj/routers/api.py @@ -707,7 +707,9 @@ async def extract_references_and_questions( inferred_queries = [] 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 if conversation_type == "notes":