Add default conversation command to auto switch b/w general, notes modes

This was the default behavior but behavior regressed when adding slash
commands in PR #463
This commit is contained in:
Debanjum Singh Solanky
2023-08-27 14:30:03 -07:00
parent b45e1d8c0d
commit 74605f6159
7 changed files with 17 additions and 14 deletions

View File

@@ -109,7 +109,7 @@ def converse(
api_key: Optional[str] = None,
temperature: float = 0.2,
completion_func=None,
conversation_command=ConversationCommand.Notes,
conversation_command=ConversationCommand.Default,
):
"""
Converse with user using OpenAI's ChatGPT