mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Add a warning to indicate that Khoj is not configured to work with personal data sources
This commit is contained in:
parent
996832dc72
commit
3646fd1449
1 changed files with 3 additions and 1 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Reference in a new issue