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
For more details, take a look at our[Quick Start with Docker](https://postgresml.org/docs/resources/developer-docs/quick-start-with-docker) documentation.
145
+
For more details, take a look at our[Quick Start with Docker](https://postgresml.org/docs/open-source/pgml/developers/quick-start-with-docker) documentation.
146
146
147
147
#Getting Started
148
148
@@ -1105,7 +1105,7 @@ pgml: SELECT logs->>'epoch' AS epoch, logs->>'step' AS step, logs->>'loss' AS lo
1105
1105
During training, model is periodically uploaded to Hugging Face Hub. You will find the model at`https://huggingface.co/<username>/<project_name>`. An example model that was automatically pushed to Hugging Face Hub is[here](https://huggingface.co/santiadavani/imdb_review_sentiement).
1106
1106
1107
1107
###6. Inference using fine-tuned model
1108
-
Now, that we have fine-tuned model on Hugging Face Hub, we can use[`pgml.transform`](https://postgresml.org/docs/introduction/apis/sql-extensions/pgml.transform/text-classification) to perform real-time predictions as well as batch predictions.
1108
+
Now, that we have fine-tuned model on Hugging Face Hub, we can use[`pgml.transform`](/docs/open-source/pgml/guides/llms/text-classification) to perform real-time predictions as well as batch predictions.
Copy file name to clipboardExpand all lines: pgml-cms/blog/semantic-search-in-postgres-in-15-minutes.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ SELECT pgml.embed('mixedbread-ai/mxbai-embed-large-v1', 'Generating embeddings i
56
56
57
57
!!!
58
58
59
-
We used the[pgml.embed](/docs/api/sql-extension/pgml.embed) PostresML function to generate an embedding of the sentence "Generating embeddings in Postgres is fun!" using the[mixedbread-ai/mxbai-embed-large-v1](https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1) model from mixedbread.ai.
59
+
We used the[pgml.embed](/docs/open-source/pgml/api/pgml.embed) PostresML function to generate an embedding of the sentence "Generating embeddings in Postgres is fun!" using the[mixedbread-ai/mxbai-embed-large-v1](https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1) model from mixedbread.ai.
60
60
61
61
The output size of the vector varies per model, and in`mxbai-embed-large-v1` outputs vectors with 1024 dimensions: each vector contains 1024 floating point numbers.
Copy file name to clipboardExpand all lines: pgml-cms/blog/sentiment-analysis-using-express-js-and-postgresml.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -146,8 +146,8 @@ not bad for less than an hour of coding.
146
146
147
147
###Final Thoughts
148
148
149
-
This app is far from complete but does show an easy and scalable way to get started with ML in Express. From here I encourage you to head over to our[docs](https://postgresml.org/docs/api/sql-extension/) and see what other features could be added.
149
+
This app is far from complete but does show an easy and scalable way to get started with ML in Express. From here I encourage you to head over to our[docs](https://postgresml.org/docs/) and see what other features could be added.
150
150
151
-
If SQL is not your thing, no worries. Check out or[JS SDK](https://postgresml.org/docs/api/client-sdk/getting-started) to streamline all our best practices with simple JavaScript. 
151
+
If SQL is not your thing, no worries. Check out or[JS SDK](https://postgresml.org/docs/open-source/korvus) to streamline all our best practices with simple JavaScript. 
152
152
153
153
We love hearing from you — please reach out to us on[Discord](https://discord.gg/DmyJP3qJ7U)or simply[Contact Us](https://postgresml.org/contact) here if you have any questions or feedback. 
Copy file name to clipboardExpand all lines: pgml-cms/blog/using-postgresml-with-django-and-embedding-search.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ PostgresML allows anyone to integrate advanced AI capabilities into their applic
28
28
29
29
Advanced search engines like Google use this technique to extract the meaning of search queries and rank the results based on what the user actually_wants_, unlike simple keyword matches which can easily give irrelevant results.
30
30
31
-
To accomplish this, for each document in our app, we include an embedding column stored as a vector. A vector is just an array of floating point numbers. For each item in our to-do list, we automatically generate the embedding using the PostgresML[`pgml.embed()`](https://postgresml.org/docs/introduction/apis/sql-extensions/pgml.embed) function. This function runs inside the database and doesn't require the Django app to install the model locally.
31
+
To accomplish this, for each document in our app, we include an embedding column stored as a vector. A vector is just an array of floating point numbers. For each item in our to-do list, we automatically generate the embedding using the PostgresML[`pgml.embed()`](/docs/open-source/pgml/api/pgml.embed) function. This function runs inside the database and doesn't require the Django app to install the model locally.
32
32
33
33
An embedding model running inside PostgresML is able to extract the meaning of search queries & compare it to the meaning of the documents it stores, just like a human being would if they were able to search millions of documents in just a few milliseconds.
Copy file name to clipboardExpand all lines: pgml-cms/docs/README.md
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,14 @@ PostgresML allows you to take advantage of the fundamental relationship between
23
23
24
24
These capabilities are primarily provided by two open-source software projects, that may be used independently, but are designed to be used together with the rest of the Postgres ecosystem:
25
25
26
-
*[**pgml**](/docs/api/sql-extension/) - an open source extension for PostgreSQL. It adds support for GPUs and the latest ML & AI algorithms_inside_ the database with a SQL API and no additional infrastructure, networking latency, or reliability costs.
27
-
*[**PgCat**](/docs/product/pgcat/) - an open source connection pooler for PostgreSQL. It abstracts the scalability and reliability concerns of managing a distributed cluster of Postgres databases. Client applications connect only to the pooler, which handles load balancing, sharding, and failover, outside of any single database server.
26
+
*[**pgml**](/docs/open-source/pgml/) - an open source extension for PostgreSQL. It adds support for GPUs and the latest ML & AI algorithms_inside_ the database with a SQL API and no additional infrastructure, networking latency, or reliability costs.
27
+
*[**PgCat**](/docs/open-source/pgcat/) - an open source connection pooler for PostgreSQL. It abstracts the scalability and reliability concerns of managing a distributed cluster of Postgres databases. Client applications connect only to the pooler, which handles load balancing, sharding, and failover, outside of any single database server.
To learn more about how we designed PostgresML, take a look at our[architecture overview](/docs/resources/architecture/).
32
-
33
31
##Client SDK
34
32
35
-
The PostgresML team also provides[native language SDKs](/docs/api/client-sdk/) which implement best practices for common ML & AI applications. The JavaScript and Python SDKs are generated from the a core Rust library, which provides a uniform API, correctness and efficiency across all environments.
33
+
The PostgresML team also provides[native language SDKs](/docs/open-source/korvus/) which implement best practices for common ML & AI applications. The JavaScript and Python SDKs are generated from the a core Rust library, which provides a uniform API, correctness and efficiency across all environments.
36
34
37
35
While using the SDK is completely optional, SDK clients can perform advanced machine learning tasks in a single SQL request, without having to transfer additional data, models, hardware or dependencies to the client application.