3 ms·
I embed descriptions using Open AI's "text-embedding-ada-002" embedding model[0]. Then I use cosign similarity to find the closest embeddings to that of the sel
by ggordbegli 3y ago
I embed descriptions using Open AI's "text-embedding-ada-002" embedding model[0]. Then I use cosign similarity to find the closest embeddings to that of the selected company[1].
[0]https://platform.openai.com/docs/guides/embeddings/embedding-models https://platform.openai.com/docs/guides/embeddings/embedding...
[1]https://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise.cosine_similarity.html https://scikit-learn.org/stable/modules/generated/sklearn.me...