Posts

Showing posts with the label vector

Vector Embeddings and Vector Storage

Image
OVERVIEW Vector Embeddings:  https://platform.openai.com/docs/api-reference/embeddings Vector Storage:  https://www.singlestore.com/ Reference:  YouTube VECTOR EMBEDDINGS Ex: A simple text "Dog" could be represented in a vector format. This is the format Machine Learning understands.  OpenAI already gives us an API we can use to convert any string or an array into a vector format To visualize a vector: Image a 2-D graph plotted to represent the words "book","page","dog","cat" When plotted on a graph, "book" and "page" have a similar semantic meaning. They are plotted closer. Same goes to "dog" and "cat". Vector is similar to an array. But not 2-D. Our example just has X, Y axis.  Imagine thousands of dimensions to plot a text, which our brain cannot really visualize.  This same word "dog" in vector representation has ~1500 items in the array. 1500 Dimensions!, each representing some lear...