From caa2c5c413dd3a3f01dfbcaafe64300cae7e0bf4 Mon Sep 17 00:00:00 2001 From: mrmer1 Date: Tue, 30 Jan 2024 15:52:22 +0800 Subject: [PATCH] update client --- notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb b/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb index 02effb83..b7dd1a00 100644 --- a/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb +++ b/notebooks/RAG_Chatbot_with_Chat_Embed_Rerank.ipynb @@ -81,9 +81,7 @@ "from unstructured.partition.html import partition_html\n", "from unstructured.chunking.title import chunk_by_title\n", "\n", - "# co = cohere.Client(\"COHERE_API_KEY\")\n", - "import os\n", - "co = cohere.Client(os.getenv(\"COHERE_API_KEY\"))" + "co = cohere.Client(\"COHERE_API_KEY\")" ] }, {