Hacker News new | ask | show | jobs
by akiselev 1173 days ago
Have you tried passing types, function definitions, etc. into the OpenAI embeddings API? It might be possible to automatically build up the context using embedding vectors generated between the request prompt and the code.