You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nbs/tsv_python_getting_started_tutorial.ipynb
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
"cell_type": "markdown",
14
14
"metadata": {},
15
15
"source": [
16
-
"This notebook shows how to use the PostgreSQL vector database `Timescale Vector` via the [Timescale Vector python client library](https://github.com/timescale/python-vector). You'll learn how to use TimescaleVector for (1) semantic search, (2) time-based vector search, (3) and how to create indexes to speed up queries.\n",
16
+
"This notebook shows how to use the PostgreSQL as vector database via the [Python Vector python client library](https://github.com/timescale/python-vector). You'll learn how to use the client for (1) semantic search, (2) time-based vector search, (3) and how to create indexes to speed up queries.\n",
17
17
"\n",
18
18
"Follow along by downloading the [Jupyter notebook version of this tutorial here](https://github.com/timescale/python-vector/blob/main/nbs/tsv_python_getting_started_tutorial.ipynb).\n",
19
19
"\n",
@@ -914,7 +914,7 @@
914
914
"\n",
915
915
"Important note: In PostgreSQL, each table can only have one index on a particular column. So if you'd like to test the performance of different index types, you can do so either by (1) creating multiple tables with different indexes, (2) creating multiple vector columns in the same table and creating different indexes on each column, or (3) by dropping and recreating the index on the same column and comparing results.\n",
916
916
"\n",
917
-
"Let's look at how to create each type of index in Timescale Vector, starting with the TimescaleVector (DiskANN) index."
917
+
"Let's look at how to create each type of index, starting with the StreamingDiskANN index."
918
918
]
919
919
},
920
920
{
@@ -924,7 +924,7 @@
924
924
"outputs": [],
925
925
"source": [
926
926
"# Create a timescale vector (DiskANN) search index on the embedding column\n",
"- Finding the most recent embeddings that are similar to a query vector (e.g recent news).\n",
994
994
"- Constraining similarity search to a relevant time range (e.g asking time-based questions about a knowledge base)\n",
995
995
"\n",
996
-
"Let's look at how to run similarity searches with time range filters using the TimescaleVector client.\n",
996
+
"Let's look at how to run similarity searches with time range filters using the client.\n",
997
997
"\n",
998
998
"- The first step to using time filtering with Timescale Vector is to create a table with the `time_partition_interval` argument set to the desired time interval. This will automatically partition the table into time-based chunks to speed up queries. We completed this step in Part 1 above.\n",
999
999
"\n",
1000
1000
"- Next, we ensure the `id` of our row is a `uuid` with a datetime portion that reflects the date and time we want to associated with the embedding. We completed this step in Part 2 above, where we used the `uuid_from_time()` method provided by the Timescale Vector library.\n",
1001
1001
"\n",
1002
-
"- Finally, we can run similarity searches with time range filters using the TimescaleVector client. We'll illustrate this below."
1002
+
"- Finally, we can run similarity searches with time range filters using the client. We'll illustrate this below."
0 commit comments