Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb2639e7

Browse files
authored
Fix merge (#1315)
1 parentcfccedb commitb2639e7

10 files changed

+55
-3
lines changed

‎pgml-cms/blog/announcing-gptq-and-ggml-quantized-llm-support-for-huggingface-transformers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ description: >-
33
GPTQ & GGML allow PostgresML to fit larger models in less RAM. These
44
algorithms perform inference significantly faster on NVIDIA, Apple and Intel
55
hardware.
6+
featured:false
7+
tags:[engineering]
8+
image:".gitbook/assets/image (14).png"
69
---
710

811
#Announcing GPTQ & GGML Quantized LLM support for Huggingface Transformers

‎pgml-cms/blog/announcing-support-for-aws-us-east-1-region.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
description:>-
3+
We added aws us east 1 to our list of support aws regions.
4+
featured:false
5+
tags:[product]
6+
---
7+
18
#Announcing Support for AWS us-east-1 Region
29

310
<divalign="left">

‎pgml-cms/blog/data-is-living-and-relational.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ description: >-
33
A common problem with data science and machine learning tutorials is the
44
published and studied datasets are often nothing like what you’ll find in
55
industry.
6+
featured:false
7+
tags:[engineering]
68
---
79

810
#Data is Living and Relational

‎pgml-cms/blog/generating-llm-embeddings-with-open-source-models-in-postgresml.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
description:>-
33
How to use the pgml.embed(...) function to generate embeddings with free and
44
open source models in your own database.
5+
image:".gitbook/assets/blog_image_generating_llm_embeddings.png"
6+
features:true
57
---
68

79
#Generating LLM embeddings with open source models in PostgresML

‎pgml-cms/blog/how-to-improve-search-results-with-machine-learning.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ description: >-
33
PostgresML makes it easy to use machine learning on your data and scale
44
workloads horizontally in our cloud. One of the most common use cases is to
55
improve search results.
6+
featured:true
7+
image:".gitbook/assets/image (2) (2).png"
8+
tags:["Engineering"]
69
---
710

811
#How-to Improve Search Results with Machine Learning

‎pgml-cms/blog/introducing-the-openai-switch-kit-move-from-closed-to-open-source-ai-in-minutes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
2+
featured:true
3+
tags:[engineering, product]
24
image:https://postgresml.org/dashboard/static/images/open_source_ai_social_share.png
35
description:>-
46
Quickly and easily transition from the confines of the OpenAI APIs to higher
57
quality embeddings and unrestricted text generation models.
8+
image:".gitbook/assets/blog_image_switch_kit.png"
69
---
710

811
#Introducing the OpenAI Switch Kit: Move from closed to open-source AI in minutes

‎pgml-cms/blog/postgres-full-text-search-is-awesome.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
description:>-
33
If you want to improve your search results, don't rely on expensive O(n*m)
44
word frequency statistics. Get new sources of data instead.
5+
image:".gitbook/assets/image (53).png"
56
---
67

78
#Postgres Full Text Search is Awesome!

‎pgml-cms/blog/postgresml-is-going-multicloud.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
#PostgresML is going multicloud
22

3+
<divalign="left">
4+
5+
<figure><imgsrc=".gitbook/assets/lev.jpg"alt="Author"width="100"><figcaption></figcaption></figure>
6+
7+
</div>
8+
9+
Lev Kokotov
10+
11+
Jan 18, 2024
12+
13+
314
We started PostgresML two years ago with the goal of making machine learning and AI accessible and easy for everyone. To make this a reality, we needed to deploy PostgresML as closely as possible to our end users. With that goal mind, today we're proud to announce support for a new cloud provider: Azure.
415

516
###How we got here

‎pgml-cms/blog/speeding-up-vector-recall-5x-with-hnsw.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ description: >-
33
HNSW indexing is the latest upgrade in vector recall performance. In this post
44
we announce our updated SDK that utilizes HNSW indexing to give world class
55
performance in vector search.
6+
tags:[engineering]
7+
featured:true
8+
image:".gitbook/assets/blog_image_hnsw.png"
69
---
710

811
#Speeding up vector recall 5x with HNSW

‎pgml-cms/blog/using-postgresml-with-django-and-embedding-search.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1+
---
2+
description:>-
3+
An example application using PostgresML and Django to build embedding based search.
4+
tags:[engineering]
5+
---
6+
17
#Using PostgresML with Django and embedding search
28

9+
<divalign="left">
10+
11+
<figure><imgsrc=".gitbook/assets/lev.jpg"alt="Author"width="100"><figcaption></figcaption></figure>
12+
13+
</div>
14+
15+
Lev Kokotov
16+
17+
Feb 15, 2024
18+
319
Building web apps on top of PostgresML allows anyone to integrate advanced machine learning and AI features into their products without much work or needing to understand how it really works. In this blog post, we'll talk about building a classic to-do Django app, with the spicy addition of semantic search powered by embedding models running inside your PostgreSQL database.
420

521
###Getting the code
@@ -51,13 +67,14 @@ And that's it! In just a few lines of code, we're generating and storing high qu
5167

5268
Djago Rest Framework provides the bulk of the implementation. We just added a`ModelViewSet` for the`TodoItem` model, with just one addition: a search endpoint. The search endpoint required us to write a bit of SQL to embed the search query and accept a few filters, but the core of it can be summarized in a single annotation on the query set:
5369

54-
<preclass="language-python"><codeclass="lang-python"><strong>results = TodoItem.objects.annotate(
55-
</strong> similarity=RawSQL(
70+
```python
71+
results= TodoItem.objects.annotate(
72+
similarity=RawSQL(
5673
"pgml.embed('intfloat/e5-small',%s)::vector(384) &#x3C;=> embedding",
5774
[query],
5875
)
5976
).order_by("similarity")
60-
</code></pre>
77+
```
6178

6279
This single line of SQL does quite a bit:
6380

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp