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
This commit is contained in:
Debanjum Singh Solanky
2023-03-05 17:34:09 -06:00
parent 7f994274bb
commit b6cdc5c7cb
3 changed files with 5 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
import pytest
# Internal Packages
from khoj.processor.conversation.gpt import converse, understand, message_to_prompt
from khoj.processor.conversation.gpt import converse, message_to_prompt
# Initialize variables for tests