Hacker News new | ask | show | jobs
by roseway4 1199 days ago
OpenAI Codex understands code. Though it’s primary use case is code completion, it might be to do Q&A well given a prompt with context.

https://platform.openai.com/docs/guides/code

I’d you’re interested in trying the very cheap models behind ChatGPT, you may want to have a look at langchain and langchain-chat for an example of how to build a chatbot that uses vectorized source code to build context-aware prompts.

2 comments

Thanks for the links, I'll take a look at this and see if it's something I could reasonably achieve.
ChatGPT also has some understanding of code. For example, you can ask it to translate from one programming language to another.