From c4fd661909a155478161f56f5955d30d8697181f Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Tue, 16 Aug 2022 16:36:15 +0300 Subject: [PATCH] Move the experimental /chat API to under /beta/chat --- src/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router.py b/src/router.py index 191f9362..6613a422 100644 --- a/src/router.py +++ b/src/router.py @@ -154,7 +154,7 @@ def search_beta(q: str, n: Optional[int] = 1): return {'status': 'ok', 'result': search_results, 'type': search_type} -@router.get('/chat') +@router.get('/beta/chat') def chat(q: str): # Load Conversation History chat_session = state.processor_config.conversation.chat_session