Re:Show HN: Similarity Search Engine for Equities
by ggordbegli on Saturday June 03, 2023 @09:12PM
(#36182067)
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].
Re:Show HN: Similarity Search Engine for Equities
by quickthrower2 on Tuesday June 06, 2023 @06:57AM
(#36210844)
It is a great idea. I think the algorithm needs some work though. Probably some guidance to the LLM could pick out attributes you could use to form a “vector” to answer questions as “what sector is this company in?”, “describe their main customer” etc. Would get expensive though perhaps.
[0]https://platform.openai.com/docs/guides/embeddings/embedding...
[1]https://scikit-learn.org/stable/modules/generated/sklearn.me...