Add a warning to indicate that Khoj is not configured to work with personal data sources

This commit is contained in:
sabaimran 2023-07-30 18:52:10 -07:00
parent 996832dc72
commit 3646fd1449

View file

@ -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":