Skip to content

Commit

Permalink
update demo to include db type
Browse files Browse the repository at this point in the history
  • Loading branch information
poornimaramesh committed Aug 16, 2024
1 parent 3cf4250 commit 39eed11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
" AsyncSession,\n",
" create_async_engine,\n",
")\n",
"db_type=\"sqlite\"\n",
"\n",
"aengine = create_async_engine(\n",
" url=\"sqlite+aiosqlite:///demo_databases/tn_covid_cases_11_may.sqlite\"\n",
" url=f\"{db_type}+aiosqlite:///demo_databases/tn_covid_cases_11_may.sqlite\"\n",
")\n",
"\n",
"async_session = sessionmaker(\n",
Expand Down Expand Up @@ -82,6 +83,7 @@
" query,\n",
" session,\n",
" which_db,\n",
" db_type,\n",
" llm,\n",
" guardrails_llm,\n",
" sys_message,\n",
Expand Down

0 comments on commit 39eed11

Please sign in to comment.