Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jackbravo
· 2y ago · 0 comments
Would LLM vector embeddings work in this context? I'm guessing they should since they are very good at understanding code.
Comments
[–]
ivanovm
2y ago
I've found embeddings to perform quite poorly on code because 1) user queries are not semantically similar to target code in most cases 2) often times two very concretely related pieces of code are not at all semantically similar
[–]
CityOfThrowaway
2y ago
Yes but generating that index would be expensive
[–]
anonymousDan
2y ago
Why exactly? You mean to construct the embeddings or to embed the queries?