Add Retrieval to Chat History (#577)

This commit is contained in:
Yuhong Sun
2023-10-15 13:40:07 -07:00
committed by GitHub
parent d2f7dff464
commit 595f61ea3a
9 changed files with 163 additions and 30 deletions

View File

@ -59,6 +59,7 @@ def send_chat_message(
def run_chat(contextual: bool) -> None:
try:
new_session_id = create_new_session()
print(f"Chat Session ID: {new_session_id}")
except requests.exceptions.ConnectionError:
print(
"Looks like you haven't started the Danswer Backend server, please run the FastAPI server"