Prompt Engineering for Beginners - Tutorial 13 - Embeddings
thenewboston · 10:28 · Watch on YouTube
This New Boston tutorial shows how to use OpenAI's embeddings API in Python to turn words into vectors of numbers, then score how related two words are with cosine similarity. In the demo, "cat" and "feline" score ~0....