Browse Source

Corrected wrong order of commands (#602)

Bakunga Bronson 8 months ago
parent
commit
9b3dabcaac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      recipes/quickstart/Getting_to_know_Llama.ipynb

+ 1 - 1
recipes/quickstart/Getting_to_know_Llama.ipynb

@@ -1013,8 +1013,8 @@
    "source": [
     "# This time your previous question and answer will be included as a chat history which will enable the ability\n",
     "# to ask follow up questions.\n",
-    "chat_history = [(query, result[\"answer\"])]\n",
     "query = \"What two sizes?\"\n",
+    "chat_history = [(query, result[\"answer\"])]\n",
     "result = chain({\"question\": query, \"chat_history\": chat_history})\n",
     "md(result['answer'])"
    ]