News for hackers. Stuff that matters.
Re:Run and create custom ChatGPT-like bots with OpenChat by lgas on Friday June 09, 2023 @09:04PM (#36266498)
Sentence embeddings + retrieving context makes sense.

By any chance, have you done any work with indexing code using embeddings? I'd like to do something similar there, but there's no obvious notion of "sentence", especially across languages.

Probably the closest analogue is just lines of code, but breaking lines on newlines might break an expression in the middle removing meaning from both halves.

I was planning on trying indexing overlapping groups of lines but haven't had time yet.

There are no comments on this comment yet.