From c3deced29bce3a03f9f69cc6120c98819b49c731 Mon Sep 17 00:00:00 2001 From: mrmer1 Date: Tue, 30 Jan 2024 16:23:12 +0800 Subject: [PATCH] update formatting --- notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb b/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb index b7dd1a00..25d9fc45 100644 --- a/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb +++ b/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb @@ -458,7 +458,8 @@ " \n", " for event in response:\n", " stream_type = type(event).__name__\n", - " # Text\n", + " \n", + " # Text\n", " if stream_type == \"StreamTextGeneration\":\n", " print(event.text, end=\"\")\n", "\n", @@ -468,7 +469,8 @@ " print(\"\\n\\nCITATIONS:\")\n", " citations_flag = True\n", " print(event.citations[0])\n", - " \n", + " \n", + " # Documents\n", " if citations_flag:\n", " if stream_type == \"StreamingChat\":\n", " print(\"\\n\\nDOCUMENTS:\")\n",