Skip to content

Commit 14fa1e4

Browse files
committed
added note on colab use; speller fix
1 parent 69b2a05 commit 14fa1e4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

recipes/use_cases/text2sql/StructuredLlama.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"id": "e8cba0b6",
66
"metadata": {},
77
"source": [
8-
"<a href=\"https://colab.research.google.com/github/meta-llama/llama-recipes/blob/main/recipes/use_cases/text2sql/StructuredLlama.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\n",
8+
"<a href=\"https://colab.research.google.com/github/meta-llama/llama-recipes/blob/main/recipes/use_cases/text2sql/StructuredLlama.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a> \n",
99
"\n",
1010
"## Use Llama 3 to chat about structured data\n",
1111
"This demo shows how to use LangChain with Llama 3 to query structured data, the 2023-24 NBA roster info, stored in a SQLite DB, and how to ask Llama 3 follow up question about the DB."
@@ -90,6 +90,7 @@
9090
"source": [
9191
"from langchain_community.utilities import SQLDatabase\n",
9292
"\n",
93+
"# Note: to run in Colab, you need to upload the nba_roster.db file in the repo to the Colab folder first.\n",
9394
"db = SQLDatabase.from_uri(\"sqlite:///nba_roster.db\", sample_rows_in_table_info=0)\n",
9495
"\n",
9596
"def get_schema():\n",

scripts/spellcheck_conf/wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,3 +1296,4 @@ multiturn
12961296
tiktoken
12971297
eos
12981298
ollama
1299+
tavily

0 commit comments

Comments
 (0)