3 ms·
How did you implement this ? Would love to learn more
by mrg3_2013 4y ago
How did you implement this ? Would love to learn more
- sandkoan 4y agoFrom what I can see, they download the repo to their server, generate per-function semantic embeddings (which will no doubt cost them at scale) [1], then use some combination of GPT-3 and Codex prompted with something like "Here's the source code of a git repo. Answer the following questions about it: {USER_QUESTION}." [1] https://beta.openai.com/docs/guides/embeddings https://beta.openai.com/docs/guides/embeddings
- gregsadetsky 4y agoThanks for sharing this! I found this guide/example from OpenAI which was pretty clear: https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb https://github.com/openai/openai-cookbook/blob/main/examples...