Skip to content

Commit

Permalink
Merge pull request #1 from singlestore-labs/master
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
pranavaurora authored Oct 16, 2023
2 parents 7378ec7 + b3aa9d1 commit 9a28722
Show file tree
Hide file tree
Showing 21 changed files with 3,115 additions and 45 deletions.
6 changes: 3 additions & 3 deletions notebooks/getting-started-with-dataframes/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"metadata": {},
"source": [
"The code below will create the table in the server from the given `DataFrame`. The data types for the database table will be inferred from\n",
"the `DataFrame` data types. The `force=True` is merely used here in case you run the notebook code multiple times against the same\n",
"the `DataFrame` data types. The `overwrite=True` is merely used here in case you run the notebook code multiple times against the same\n",
"database. It will cause an existing `phones` table to be overwritten if it already exists."
]
},
Expand All @@ -223,7 +223,7 @@
"metadata": {},
"outputs": [],
"source": [
"phones_tbl = conn.create_table('phones', phones_df, force=True)\n",
"phones_tbl = conn.create_table('phones', phones_df, overwrite=True)\n",
"phones_tbl.head(3)"
]
},
Expand Down Expand Up @@ -432,7 +432,7 @@
"metadata": {},
"outputs": [],
"source": [
"tbl_2 = conn.create_table('phones2', phones_tbl, force=True)\n",
"tbl_2 = conn.create_table('phones2', phones_tbl, overwrite=True)\n",
"tbl_2"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/getting-started-with-notebooks/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
"df = pd.read_csv(url, index_col=0,\n",
" # Use parse_date=, dtype=, and converters= to specify explicit data types\n",
" parse_dates=['inspection_date'],\n",
" date_format='%m/%d/%Y %H:%M:%S %p',\n",
" dtype=dict(business_id=int, business_phone_number=str, business_postal_code=str, inspection_score=float),\n",
" converters=dict(business_location=str_to_shapely))\n",
"df"
Expand Down Expand Up @@ -194,7 +195,6 @@
"source": [
"%%sql\n",
"DROP DATABASE IF EXISTS {{database_name}};\n",
"\n",
"CREATE DATABASE {{database_name}};"
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[meta]
title="How to Build LLM Apps that can See Hear Speak"
description="""\
Using OpenAI to build a an app that can take images, audio, and text data to generate output
"""
icon="chart-network"
tags=["advanced", "openai", "genai"]
destinations=["spaces"]
Loading

0 comments on commit 9a28722

Please sign in to comment.