From fbe4209ce10d10766b95bcd568d62c5bd60e87df Mon Sep 17 00:00:00 2001 From: Naveen RS <57190478+naveentnj@users.noreply.github.com> Date: Tue, 2 Jan 2024 03:47:37 +0530 Subject: [PATCH] Update LLaMA2_sql_chat.ipynb (#15379) Updated prompt input suggestions --------- Co-authored-by: Harrison Chase --- cookbook/LLaMA2_sql_chat.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cookbook/LLaMA2_sql_chat.ipynb b/cookbook/LLaMA2_sql_chat.ipynb index 86e4d1ec996..9316206ad96 100644 --- a/cookbook/LLaMA2_sql_chat.ipynb +++ b/cookbook/LLaMA2_sql_chat.ipynb @@ -125,7 +125,7 @@ "id": "654b3577-baa2-4e12-a393-f40e5db49ac7", "metadata": {}, "source": [ - "## Query a SQL DB \n", + "## Query a SQL Database \n", "\n", "Follow the runnables workflow [here](https://python.langchain.com/docs/expression_language/cookbook/sql_db)." ] @@ -151,6 +151,7 @@ "# Prompt\n", "from langchain.prompts import ChatPromptTemplate\n", "\n", + "# Update the template based on the type of SQL Database like MySQL, Microsoft SQL Server and so on\n", "template = \"\"\"Based on the table schema below, write a SQL query that would answer the user's question:\n", "{schema}\n", "\n",