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: about/release-notes/changes-in-timescaledb-2.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -422,7 +422,7 @@ statistics related to all jobs.
422
422
423
423
#### Removed
424
424
425
-
*[`timescaledb_information.continuous_aggregate_stats`](https://legacy-docs.timescale.com/v1.7/api#timescaledb_information-continuous_aggregate_stats): Removed in favor of the `job_stats` view mentioned above.
425
+
*`timescaledb_information.continuous_aggregate_stats`: Removed in favor of the `job_stats` view mentioned above.
426
426
427
427
### Updating existing continuous aggregates
428
428
@@ -465,9 +465,9 @@ policies are now available in the main jobs view.
465
465
466
466
#### Removed
467
467
468
-
*[`add_drop_chunks_policy`](https://legacy-docs.timescale.com/v1.7/api#add_drop_chunks_policy): removed in favor of the
468
+
*`add_drop_chunks_policy`: removed in favor of the
Removed in favor of the new `chunk_compression_stats(hypertable)` function linked above.
496
496
497
497
## Managing policies and other jobs
@@ -517,10 +517,10 @@ features has been removed. All features are available either under the community
517
517
open-source Apache-2 License. [This blog post](https://blog.timescale.com/blog/building-open-source-business-in-cloud-era-v2/)
518
518
explains the changes. The following changes were made to license API:
519
519
520
-
*[`timescaledb_information.license`](https://legacy-docs.timescale.com/v1.7/api#timescaledb_information-license): This view
520
+
*`timescaledb_information.license`: This view
521
521
has been removed, as it primarily provided information on the enterprise license key's expiration date, which is no
522
522
longer applicable. The current license used by the extension can instead be viewed in the GUC below.
523
-
*`timescaledb.license`: This GUC value (which replaces the former [`timescaledb.license_key`](https://legacy-docs.timescale.com/v1.7/api#timescaledb_license-key) GUC)
523
+
*`timescaledb.license`: This GUC value (which replaces the former `timescaledb.license_key` GUC)
524
524
can take the value `timescale` or `apache`. It can be set only at startup (in the postgresql.conf configuration file
525
525
or on the server command line), and allows limiting access to certain features
We will continue supporting PostgreSQL 13 until April 2024. Sooner to that time, we will announce the specific version of TimescaleDB in which PostgreSQL 13 support will not be included going forward.
@@ -692,3 +692,5 @@ For release notes for older TimescaleDB versions, see the
Copy file name to clipboardExpand all lines: ai/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ Under the hood, embeddings are represented as a vector (a list of numbers) that
56
56
57
57
Timescale Vector works with the most popular embedding models that have output vectors of 2,000 dimensions or less. Here are some popular choices for text embeddings for use with Timescale Vector:
58
58
59
-
-[OpenAI embedding models](https://platform.openai.com/docs/guides/embeddings): text-embedding-ada-002 is OpenAI's recommended embedding generation model.
59
+
-[OpenAI embedding models](https://platform.openai.com/docs/guides/embeddings/): text-embedding-ada-002 is OpenAI's recommended embedding generation model.
60
60
-[Sentence transformers](https://huggingface.co/sentence-transformers): Several popular open source models for embedding generation from text.
61
61
-[Cohere representation models](https://docs.cohere.com/docs/models#representation): Cohere offers many models that can be used to generate embeddings from text in English or multiple languages.
62
62
@@ -69,4 +69,4 @@ And here are some popular choices for image embeddings:
Copy file name to clipboardExpand all lines: ai/key-vector-database-concepts-for-understanding-pgvector.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS document_embedding (
26
26
27
27
This table contains a primary key, a foreign key to the document table, some metadata, the text being embedded (in the `contents` column), and the embedded vector.
28
28
29
-
This may seem like a bit of a weird design: why aren't the embeddings simply a separate column in the document table? The answer has to do with context length limits of embedding models and of LLMs. When embedding data, there is a limit to the length of content you can embed (for example, OpenAI's ada-002 has a limit of [8191 tokens]((https://platform.openai.com/docs/guides/embeddings/second-generation-models))), and so, if you are embedding a long piece of text, you have to break it up into smaller chunks and embed each chunk individually. Therefore, when thinking about this at the database layer, there is usually a one-to-many relationship between the thing being embedded and the embeddings which is represented by a foreign key from the embedding to the thing.
29
+
This may seem like a bit of a weird design: why aren't the embeddings simply a separate column in the document table? The answer has to do with context length limits of embedding models and of LLMs. When embedding data, there is a limit to the length of content you can embed (for example, OpenAI's ada-002 has a limit of [8191 tokens](https://platform.openai.com/docs/guides/embeddings/embedding-models)), and so, if you are embedding a long piece of text, you have to break it up into smaller chunks and embed each chunk individually. Therefore, when thinking about this at the database layer, there is usually a one-to-many relationship between the thing being embedded and the embeddings which is represented by a foreign key from the embedding to the thing.
30
30
31
31
Of course, if you do not want to store the original data in the database and you are just storing only the embeddings, that's totally fine too. Just omit the foreign key from the table. Another popular alternative is to put the foreign key into the metadata JSONB.
0 commit comments