Python + AI: Understanding Vector Embeddings
Explore vector embedding models in Python, a key technique for encoding data in AI applications. π

Microsoft Reactor
5.7K views β’ Oct 8, 2025

About this video
In our second session of the Python + AI series, we'll dive into a different kind of model: the vector embedding model.
A vector embedding is a way to encode a text or image as an array of floating point numbers. Vector embeddings make it possible to perform similarity search on many kinds of content.
In this session, we'll explore different vector embedding models, like the OpenAI text-embedding-3 series, with both visualizations and Python code. We'll compare distance metrics, use quantization to reduce vector size, and try out multimodal embedding models.
If you'd like to follow along with the live examples, make sure you've got a GitHub account.
π This session is a part of a series. Learn more here: https://aka.ms/PythonAI/2
Explore the slides and episode resources: https://aka.ms/pythonai/resources
Check out the demos: https://aka.ms/python-openai-demos
Chapters:
00:08 β Welcome & Housekeeping
01:03 β Introduction to Vector Embeddings
02:24 β Why Vector Embeddings Matter
03:32 β How Embedding Models Work
06:01 β Comparing Embedding Models
10:55 β Generating Embeddings with OpenAI
20:59 β Understanding Similarity Spaces
24:47 β Cosine Similarity Explained
34:02 β Vector Search with Exhaustive Search
40:01 β Approximate Nearest Neighbor (ANN) Search
46:54 β Compressing Embeddings: Quantization
56:17 β Compressing Embeddings: Dimensionality Reduction
59:57 β Oversampling for High-Quality Retrieval
1:00:08 β Wrap-Up & Resources
#MicrosoftReactor #learnconnectbuild
[eventID:26293]
A vector embedding is a way to encode a text or image as an array of floating point numbers. Vector embeddings make it possible to perform similarity search on many kinds of content.
In this session, we'll explore different vector embedding models, like the OpenAI text-embedding-3 series, with both visualizations and Python code. We'll compare distance metrics, use quantization to reduce vector size, and try out multimodal embedding models.
If you'd like to follow along with the live examples, make sure you've got a GitHub account.
π This session is a part of a series. Learn more here: https://aka.ms/PythonAI/2
Explore the slides and episode resources: https://aka.ms/pythonai/resources
Check out the demos: https://aka.ms/python-openai-demos
Chapters:
00:08 β Welcome & Housekeeping
01:03 β Introduction to Vector Embeddings
02:24 β Why Vector Embeddings Matter
03:32 β How Embedding Models Work
06:01 β Comparing Embedding Models
10:55 β Generating Embeddings with OpenAI
20:59 β Understanding Similarity Spaces
24:47 β Cosine Similarity Explained
34:02 β Vector Search with Exhaustive Search
40:01 β Approximate Nearest Neighbor (ANN) Search
46:54 β Compressing Embeddings: Quantization
56:17 β Compressing Embeddings: Dimensionality Reduction
59:57 β Oversampling for High-Quality Retrieval
1:00:08 β Wrap-Up & Resources
#MicrosoftReactor #learnconnectbuild
[eventID:26293]
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
5.7K
Likes
250
Duration
01:05:03
Published
Oct 8, 2025
User Reviews
4.6
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.