From a26ab31d2087d1a01dfaaaf822560ea9c8ec2835 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Tue, 7 Feb 2023 02:19:37 -0300 Subject: [PATCH] Allow chat with markdown notes if no org-mode content configured --- src/routers/api_beta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/api_beta.py b/src/routers/api_beta.py index d9d55db0..d0555c04 100644 --- a/src/routers/api_beta.py +++ b/src/routers/api_beta.py @@ -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: