Move the experimental /chat API to under /beta/chat

This commit is contained in:
Debanjum Singh Solanky
2022-08-16 16:36:15 +03:00
parent a482c2a8b0
commit c4fd661909

View File

@@ -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