Extension transforming PostgreSQL to a vector database: pgvector

  Рет қаралды 479

Knowledge Amplifier

2 ай бұрын

In a digital era brimming with unstructured data - from the movies and songs we enjoy to complex documents and videos - the challenge is how to effectively compare, categorize, or unearth relationships within such diverse content. The traditional rows and columns approach falls short, paving the way for a solution that views data through a numerical lens, as vectors. Enter pgvector, a pioneering open-source PostgreSQL extension designed for vector similarity search.
In this video, we are going to explore about this with in-depth intuition.
Github Link: github.com/pgvector/pgvector
Code is available in pinned comment.
Prerequisite:
===========
Complete Amazon Bedrock In 2.5 Hours | Learn Generative AI on AWS with Python!
kzbin.info/www/bejne/b4uYZ5VulLWcpJYsi=VwdLuXNuh3t4xzxj
Cosine Similarity Explained With Examples & Code (Part 1) | Machine Learning with MATLAB
kzbin.info/www/bejne/m5KbfKKAltCBb9Esi=kWSWTCl796_0Dqcs
Cosine Similarity & Cosine Distance (Part 2) | Machine Learning using MATLAB
kzbin.info/www/bejne/j3mtdYOaYtmSf8Usi=bekKN6O6w1khc8v5
Check this playlist for more Data Engineering related videos:
kzbin.info/aero/PLjfRmoYoxpNopPjdACgS5XTfdjyBcuGku
Generative AI on AWS:
kzbin.info/aero/PLjfRmoYoxpNrxzmFi9F_yqA7r6kRrBzAH&si=ShtHQ-pUErE_MS32
Apache Kafka form scratch
kzbin.info/aero/PLjfRmoYoxpNrs0VmIq6mOTqXP52RfZdRf
Messaging Made Easy: AWS SQS Playlist
kzbin.info/aero/PLjfRmoYoxpNqnWvkg8Ujx6TH6pUcGLseT
Snowflake Complete Course from scratch with End-to-End Project with in-depth explanation--
doc.clickup.com/37466271/d/h/13qc4z-104/d4346819bd8d510
*Explore our vlog channel:*
www.youtube.com/@funwithourfam/videos
Your queries:
===========
vector database
pgvector
vector search
vector databases
vector embeddings
cost and latency concerns in vector databases
integrated vector database
what is vector database
database
databases
vector similarity search
integrated vector management
pgvector with postgresql
creates an embedding vector,using pgvector with python
postgresql vector
mongodb atlas vector search
tools to understand vectors
vector creation
vector compression
vectors

Пікірлер: 1
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 ай бұрын
SQL Queries: ================ CREATE EXTENSION vector; SELECT typname FROM pg_type WHERE typname = 'vector'; CREATE TABLE test_embeddings(product_id bigint, embeddings vector(3) ); INSERT INTO test_embeddings VALUES (1, '[1, 2, 3]'), (2, '[2,-3,-4]'); SELECT product_id, embeddings, embeddings '[3,1,2]' AS distance FROM test_embeddings ORDER BY embeddings '[3,1,2]'; Python Code: ================= def cosine_similarity(a,b): return 1-(a[0]*b[0]+a[1]*b[1]+a[2]*b[2])/(((a[0]**2+a[1]**2+a[2]**2)**0.5)*((b[0]**2+b[1]**2+b[2]**2))**0.5)
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,3 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 79 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 822 М.
Кто-то еще помнит про эту консоль?
0:51
ПРОСТО ЛЕШКА
Рет қаралды 2,7 МЛН
Дым-машина из Китая
0:57
Денис Шалюта
Рет қаралды 1,3 МЛН
Evolution of the Samsung Galaxy
0:50
ios_aesthetics
Рет қаралды 9 МЛН
Новый MacBook Air M2 разрядился в коробке!
1:00