From b6cdc5c7cb6a1cbfd611c9c439fcdcaad36ea7af Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 5 Mar 2023 17:34:09 -0600 Subject: [PATCH] Do not expose answer API as a chat type in chat web interface or API Answer does not rely on past conversations, just the knowledge base. It is meant for one off interactions, like search rather than a continuing conversation like chat For now it is only exposed via API. Later it will be expose in the interfaces as well Remove ability to select different chat types from the chat web interface as there is only a single chat type Stop appending answers to the conversation logs --- src/khoj/interface/web/chat.html | 26 ++++---------------------- src/khoj/routers/api_beta.py | 10 ---------- tests/test_chatbot.py | 2 +- 3 files changed, 5 insertions(+), 33 deletions(-) diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index cba6eb2d..f72824b8 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -9,12 +9,6 @@