How Dev You
How Dev You
  • 29
  • 23 710
OpenAI API - Embeddings
Embeddings and their various applications (search, recommendation, clustering, etc.)
github repo : github.com/howdevyou/openai-apis
Learn how these multi-dimensional vector representations of words drive crucial applications like recommendation systems, search functions, clustering, anomaly detection, and classification.
Timestamp -
00:00 Introduction to embeddings and their applications
03:12 Tokenization: Separating words and converting to vectors
04:26 Understanding vectors: Representation in 2D and 3D
06:04 Word embeddings and their creation process
07:46 Scoring system for relationship determination in embeddings
09:20 Example: Converting "hello" into an embedding list
11:21 Creating embeddings using the Open AI API
12:24 Response from API: Embeddings for each word
13:23 Explaining cosine similarity and its significance
14:19 Comparing vectors: "king" and "cloud" similarity
15:54 Using embeddings to solve clustering problems
16:56 Clustering vehicles using k-means method
We'll walk you through how LinkedIn Learning's AI assistant uses embeddings to understand user queries and recommend relevant topics. Discover the magic behind embeddings by visualizing a dictionary of 10,000 words, each mapped to an embedding vector that reveals their relationships through proximity.
Dive into the inner workings of ChatGPT, where tokens are converted into embedding vectors to grasp context and meaning. We break down embedding vectors to show how each value reflects a word's connection to various attributes, using a hypothetical embedding matrix as an example.
Follow along as we demonstrate converting the word "hello" into an embedding list using the OpenAI API. Get step-by-step instructions on authentification, creating an instance, and generating an embedding vector.
Learn about cosine similarity and see how to calculate the similarity between different words, like "king" and "queen," to better understand their relationships.
Finally, watch how embedding vectors for a list of words can be applied in clustering problems using the K-means algorithm. We’ll group words like "king," "queen," "apple," "orange," "bus," "bicycle," and "motorcycle" into meaningful clusters such as fruits, vehicles, and people.
Whether you're a beginner or an AI enthusiast, this video is packed with insights that will elevate your understanding of embeddings and their practical use cases.
00:00 Introduction to embeddings and their applications
02:30 Tokenization: Separating words and converting to vectors
04:26 Understanding vectors: Representation in 2D and 3D
06:04 Word embeddings and their creation process
07:46 Scoring system for relationship determination in embeddings
09:20 Example: Converting "hello" into an embedding list
11:21 Creating embeddings using the Open AI API
12:24 Response from API: Embeddings for each word
13:23 Explaining cosine similarity and its significance
14:19 Comparing vectors: "king" and "cloud" similarity
15:54 Using embeddings to solve clustering problems
16:56 Clustering vehicles using k-means method
มุมมอง: 60

วีดีโอ

React SSR From Scratch
มุมมอง 652 หลายเดือนก่อน
blog post : medium.com/@sosumit001/part-01-react-ssr-from-scratch-a-cartoon-intro-3e0733876933 github : github.com/sosumit001/react-ssr-from-scratch Building a server-side React application from scratch provides greater control and customization over using frameworks like Next.js or Remix. The initial step in setting up the project involves installing key packages such as Express, React, and Re...
Smart State Management with React19 !!!
มุมมอง 1262 หลายเดือนก่อน
React 19: State Management with useTransition, useAction, and useFormStatus source code : github.com/sosumit001/react-19-beginners-guide read blog : medium.com/p/063817a5f8fb What you'll learn : State Management in Earlier React Versions: Understand the complexities of managing state during API calls in previous React versions, involving manual tracking of loading, errors, and state updates. Ne...
Webpack, Rollup, Parcel & Vite : Javascript Build Tools
มุมมอง 1645 หลายเดือนก่อน
Javascript Build Tools : Webpack, Rollup, Parcel & Vite Javascript build tools, which are programs that automate the process of executing web applications. These tools help create dynamic websites that can respond in real-time to user interactions, as opposed to static websites. The video categorizes build tools into legacy tools like Webpack and Rollup, and next-gen tools like Parcel and Vite....
5 Steps for OpenAI API Usage
มุมมอง 786 หลายเดือนก่อน
🌟 What You'll Learn: How to Access the OpenAI API: Get started by creating your account at platform.openai.com. We'll guide you through the setup process and show you how to manage your account efficiently. Understanding Pricing: Dive into the OpenAI API's unique token-based pricing system. Learn how to budget your AI projects effectively by understanding the costs associated with inputs and ou...
*NO NEXTJS* File Based Routing
มุมมอง 886 หลายเดือนก่อน
blog website : github.com/sosumit001/how-dev-you-official 0:00 - 1:06: Intro File-Based Routing in React with Vite, Vite's Role and Use of TypeScript and MDX, Example of Website Using MDX and React Components 1:11 - 1:47: Goal of File-Based Routing and Vite's Functionality 2:22 - 3:58: Explanation of Globe Function Parameters 4:11 - 5:17: Implementation of Dynamic Routing for New Entries 5:27 -...
Blob Interface and Binary Data | Web APIs
มุมมอง 866 หลายเดือนก่อน
Source Code : www.sumitso.in/blogs/2024/blob-webapis In this video, we dive deep into the Blob Web API, a crucial tool for managing binary data in web development. We start by exploring the Blob Interface, covering its constructors, attributes, and methods like slice(), stream(), text(), and arrayBuffer(). Then, we move on to the File Interface, discussing its construction and attributes, and t...
Code, Deploy, Connect | Your HTTP Server with a Custom Domain
มุมมอง 817 หลายเดือนก่อน
Source code github.com/sosumit001/nodejs-hot-topics/tree/main Building an HTTP server: The presenter explains how to create a basic HTTP server using the HTTP module and how to configure it to serve different types of files. Hosting on Versal: The presenter demonstrates how to host the HTTP server on the Versal platform, allowing the website to be accessed online. Connecting a subdomain: By add...
Assistants API : ASSISTANCE, THREADS & RUNs
มุมมอง 2357 หลายเดือนก่อน
Assistances API : ASSISTANCE, THREADS & RUNs source code : github.com/sosumit001/openai-apis/tree/main/ai assistance - eg. python Tutor Key Insights : 1. Building magical applications with open AI APIs: Open AI APIs allow us to build applications that can interact with human language and provide human-like responses. These APIs, such as the GPT model, can be utilized to respond to user prompts....
01 • HTTP METHODS | Fetching Wikipedia : GET
มุมมอง 668 หลายเดือนก่อน
HTTP METHODS | Fetching Wikipedia GET At the top, HTTP stands tall, closely followed by API and Method, shaping the global discourse on web communication. REST and HTTP request each claim a significant presence, contributing to the interconnected World Wide Web. The JavaScript language, synonymous with dynamic web development, secures its spot, contributing to the interconnected World Wide Web....
Function Calling with OpenAI API!
มุมมอง 1968 หลายเดือนก่อน
Open AI function Calling, GPT4 function calling, gpt api function calling, OpenAI api function calling, function calling openai langchain Source Code : github.com/sosumit001/openai-apis/tree/main/function calling TIMESTAMPS : 00:00 - Introduction to Function calling 00:46 - How Function Calling Works in OPENAI 04:21 - Setting up Rest Client Extension 04:55 - Setting up OpenAi api key 05:56 - St...
Evolution of JavaScript Asynchronous Programming: Async/Await, Promises, and Callbacks ES6, ES7 ES8
มุมมอง 1.1K8 หลายเดือนก่อน
Evolution of JavaScript Asynchronous Programming: Async/Await, Promises, and Callbacks ES6, ES7 ES8 Checkout Full 15 min video : th-cam.com/video/lfWQ5idZTSE/w-d-xo.html 1. In 1999, callbacks were introduced in Ecmascript to handle asynchronous operations. Callbacks are functions passed as parameters to a function, but they can lead to deeply nested and hard-to-understand code structures, commo...
Understanding Value vs. Reference in JavaScript: Exploring Primitive and Reference Data Types
มุมมอง 3428 หลายเดือนก่อน
In this informative TH-cam video, we delve into the fascinating world of JavaScript's data handling approach. Unlike some other programming languages, JavaScript distinguishes between two essential data types: primitive and reference. Timestamps: 00:00 - Introduction 00:41 - Content Overview 01:51 - Understanding Types 03:38 - Exploring Primitive Types 07:10 - Utilizing the typeof Operator to I...
Asynchronous JavaScript Easily in 15 Minutes || Callbacks, Promises & Async/Await
มุมมอง 4539 หลายเดือนก่อน
Asynchronous JavaScript Easily in 15 Minutes || Callbacks, Promises & Async/Await
WebAssembly with C || Emscripten Tutorial : From "Hello World" to Module Instantiation
มุมมอง 43710 หลายเดือนก่อน
WebAssembly with C || Emscripten Tutorial : From "Hello World" to Module Instantiation
GitHub's OAuth implementation || Log in With Github || OAuth 2.0
มุมมอง 34511 หลายเดือนก่อน
GitHub's OAuth implementation || Log in With Github || OAuth 2.0
Javascript Array Methods | @howdevyou
มุมมอง 109ปีที่แล้ว
Javascript Array Methods | @howdevyou
Deploy Vite + React App to Vercel || Add Custom Domain to React App
มุมมอง 9Kปีที่แล้ว
Deploy Vite React App to Vercel || Add Custom Domain to React App
Version Control: A Comprehensive Guide
มุมมอง 55ปีที่แล้ว
Version Control: A Comprehensive Guide
Environment Variables in VITE + REACT | add .env file to Vite App @howdevyou
มุมมอง 10Kปีที่แล้ว
Environment Variables in VITE REACT | add .env file to Vite App @howdevyou
Webpack Module Bundler | Webpack Tutorial in 2 Minutes
มุมมอง 388ปีที่แล้ว
Webpack Module Bundler | Webpack Tutorial in 2 Minutes
ReactJS in 3 Minutes
มุมมอง 103ปีที่แล้ว
ReactJS in 3 Minutes
Binary Search Trees: C++ Implementation Guide
มุมมอง 1442 ปีที่แล้ว
Binary Search Trees: C Implementation Guide
what is Binary Search?? - Data Structure and Algorithm
มุมมอง 492 ปีที่แล้ว
what is Binary Search?? - Data Structure and Algorithm
Linked List - Data Structure & Algorithms || C++
มุมมอง 442 ปีที่แล้ว
Linked List - Data Structure & Algorithms || C