mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Allow chat with markdown notes if no org-mode content configured
This commit is contained in:
parent
99a03da3f7
commit
a26ab31d20
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def summarize_beta(q: str):
|
|||
meta_log = state.processor_config.conversation.meta_log
|
||||
|
||||
# Converse with OpenAI GPT
|
||||
result_list = search(q, n=1, t=SearchType.Org, r=True)
|
||||
result_list = search(q, n=1, r=True)
|
||||
collated_result = "\n".join([item.entry for item in result_list])
|
||||
logger.debug(f'Semantically Similar Notes:\n{collated_result}')
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue