🌐 AI搜索 & 代理 主页
Skip to content

Commit 785815d

Browse files
Cassandra Stumergitbook-bot
authored andcommitted
GITBOOK-76: Cassandra updated overview page: Please review!
1 parent 0b7f4c7 commit 785815d

File tree

5 files changed

+70
-11
lines changed

5 files changed

+70
-11
lines changed

pgml-docs/docs/guides/README.md

Lines changed: 64 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,70 @@
1+
---
2+
description: What is PostgresML?
3+
coverY: 0
4+
layout:
5+
cover:
6+
visible: false
7+
size: full
8+
title:
9+
visible: true
10+
description:
11+
visible: true
12+
tableOfContents:
13+
visible: true
14+
outline:
15+
visible: true
16+
pagination:
17+
visible: true
18+
---
19+
120
# Overview
221

3-
PostgresML supercharges your Postgres database into an end-to-end MLOps platform, seamlessly integrating the key components of the machine learning workflow. Without moving data outside your database, PostgresML allows Postgres to function as a feature store, model store, training engine, and inference service all in one place. This consolidation streamlines building and deploying performant, real-time AI applications for developers.
22+
[PostgresML](https://postgresml.org/) is a PostgreSQL extension that enables users to build fast, simple and powerful models right inside your database. Users can build chatbots, search engines, forecasting apps and more with the latest NLP, LLM and ML models using the simplicity and power of SQL (and our SDKs). 
23+
24+
### Problem <a href="#problem" id="problem"></a>
25+
26+
Today's engineers and product teams are increasingly burdened with data hungry ML & AI apps and complex architecture. Several roundtrip network calls must be made across a web of microservices to return an accurate response. This approach to MLops is slower for users, and it’s more complex to build, manage and scale. &#x20;
27+
28+
### Solution <a href="#solution" id="solution"></a>
29+
30+
PostgresML collocates data and compute, so you can save models and index data right in your Postgres database. When you need to predict or train using machine learning, you don’t have to make requests over the internet or even take your data out of your database - which is both slower and a data safety risk. We’ve even added GPUs to our databases to fully leverage the latest technology and algorithms. You can avoid the complexity and latency of microservices when you have a complete MLops platform right in your database.
31+
32+
Instead of patching together MongoDB, Databricks, Pinecone, Huggingface, LangChain and more to get the latest algorithms and LLMs in your app – you can add one extension to your Postgres database and get to market quickly.&#x20;
33+
34+
35+
36+
![Typical chatbot build without and with PostgresML](https://star-history.com/blog/assets/postgresml/diagram.webp)
37+
38+
39+
40+
Why Postgres? If it’s not broke, don’t fix it. Postgres is old reliable for a reason. It’s highly efficient, scalable and open-source (Just like all of PostgresML). Plus, you can easily build your AI app using simple SQL.
41+
42+
#### ➡️ Scalability <a href="#scalability" id="scalability"></a>
43+
44+
In ML applications, new data is constantly being generated by users and needs to be stored somewhere (feature store). For example, there are long term historical features, short term session level, and real time request level. Postgres can handle both long term with partitioning, table spaces and indexing as well as short term storage, and accept real-time features as parameters in queries, or as additional session level storage already written during the request.
45+
46+
#### ➡️ Efficiency <a href="#efficiency" id="efficiency"></a>
47+
48+
In database-ML minimizes latency and computational cost. Postgres can also handle all types of data efficiently; including vectors, geospatial, JSON, timeseries, tabular and text. Our benchmarks show up to **40x faster** improvement over Python microservices.
49+
50+
#### ➡️ All the latest LLMs, ML + AI algorithms <a href="#all-the-latest-llms-ml-ai-algorithms" id="all-the-latest-llms-ml-ai-algorithms"></a>
51+
52+
* Torch
53+
* Tensorflow
54+
* SCikit Learn
55+
* XGBoost
56+
* LightGBM
57+
* Pre-trained deep learning models from Hugging Face
58+
* LLama 2
59+
* Falcon LLM
60+
* OpenAI
61+
62+
#### ➡️ Open-source <a href="#open-source" id="open-source"></a>
463

5-
With PostgresML, your database becomes a full-fledged ML workbench. It supports supervised and unsupervised algorithms like regression, clustering, deep neural networks, and more. You can build models using SQL on data inside Postgres. Models are stored back into Postgres for low-latency inferences later.
64+
We’re a totally open-source project. That includes various ML libraries and the vast Postgres ecosystem.
665

7-
PostgresML also unlocked the power of large language models like GPT-3 for your database. With just a few lines of SQL, you can leverage state-of-the-art NLP to build semantic search, analyze text, extract insights, summarize documents, translate text, and more. The possibilities are endless.
66+
### Future Development <a href="#future-development" id="future-development"></a>
867

9-
PostgresML is open source but also offered as a fully-managed cloud service. In addition to the SQL API, it provides Javascript, Python, and Rust SDKs to quickly build vector search, chatbots, and other ML apps in just a few lines of code.
68+
[PostgresML](https://postgresml.org/) is in early stages of development - but we are moving quickly. It’s our vision to help as many app developers as possible build and scale AI apps without all of the complexity.
1069

11-
To scale horizontally, PostgresML utilizes PgCat, an advanced PostgreSQL proxy and load balancer. PgCat enables sharding, load balancing, failover, and mirroring to achieve extremely high throughput and low latency. By keeping the entire machine learning workflow within Postgres, PostgresML avoids expensive network calls between disparate systems. This allows PostgresML to handle millions of requests per second at up to 40x the speed of other platforms. PgCat and Postgres replication deliver seamless scaling while retaining transactional integrity.
70+
If you’d like to stay up-to-date with our progress or contribute to the project (feedback, questions and comments are all welcome) you can check us out on [Github](https://github.com/postgresml/postgresml) or chat with us anytime on our [Discord](https://discord.com/invite/DmyJP3qJ7U).

pgml-docs/docs/guides/deploying-postgresml/self-hosting/pooler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ Type "help" for help.
115115
postgresml=> SELECT pgml.version();
116116
version
117117
---------
118-
2.7.12
118+
2.7.9
119119
(1 row)
120120
```

pgml-docs/docs/guides/developer-docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ SELECT pgml.version();
126126
postgres=# select pgml.version();
127127
version
128128
-------------------
129-
2.7.12
129+
2.7.4
130130
(1 row)
131131
```
132132

pgml-docs/docs/guides/developer-docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ CREATE EXTENSION
133133
pgml_test=# SELECT pgml.version();
134134
version
135135
---------
136-
2.7.12
136+
2.7.4
137137
(1 row)
138138
```
139139

pgml-docs/docs/guides/developer-docs/quick-start-with-docker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ docker run \
1818
-v postgresml_data:/var/lib/postgresql \
1919
-p 5433:5432 \
2020
-p 8000:8000 \
21-
ghcr.io/postgresml/postgresml:2.7.12 \
21+
ghcr.io/postgresml/postgresml:2.7.3 \
2222
sudo -u postgresml psql -d postgresml
2323
```
2424

@@ -43,7 +43,7 @@ docker run \
4343
--gpus all \
4444
-p 5433:5432 \
4545
-p 8000:8000 \
46-
ghcr.io/postgresml/postgresml:2.7.12 \
46+
ghcr.io/postgresml/postgresml:2.7.3 \
4747
sudo -u postgresml psql -d postgresml
4848
```
4949

@@ -80,7 +80,7 @@ Time: 41.520 ms
8080
postgresml=# SELECT pgml.version();
8181
version
8282
---------
83-
2.7.12
83+
2.7.3
8484
(1 row)
8585
```
8686

0 commit comments

Comments
 (0)