Prompt level programming guide
Large language models introduce programming languages at a higher level
Most software development is done in “High level languages” but with large language models there is a new paradigm for writing code using the LLM as an interpreter.
In previous posts I discussed function level usage with OpenAI, but a more direct way to interface with the LLM is to have it return the function result in the next message.
SudoLang
SudoLang is a programming language that is designed to work on various LLMs using only the input from the prompt.
The Github repo has plenty of articles to dive in, as well as some really interesting examples. Paste them into ChatGPT and you effectively have a working Chatbot.
Researching this I found kogenei’s sudolang-rest-api project that creates an Express and Flask backend (Python and Node.js) from a single SudoLang file.
simplif-ai
Another project I stumbled on researching this is failfa-st’s simplif-ai, which has an impressive demo transpiling languages consistently. Transpiling is the process of transforming source code from one language to another.
Aside from learning new syntax, the complex example in the demo shows how capable something like this can be. Often times these programming tasks can be handled in natural language, but if there is a keyword shortcut using a psuedo language like this, all the better. Compress the input allows for more more context in the LLM response.
awesome-chatgpt-prompts
The most direct way to using the language model effectively is to find existing prompts that match your use case, and make tweaks to them over time. awesome-chatgpt-prompts has a good list. Using your chat UI you can save different conversations based on these prompts like bookmarks.
natural language apps
Its exciting that there are so many different ways to be productive using ChatGPT, but its worth pointing out that its inherently a challenge to rely on the language model for a structured output. At the same time if you are building a simple Chatbot you can see its possible to do it entirely in a prompt. ChatGPT Plugins are the beginning of this transition. I’m hoping to write some future posts on writing plugins, stay tuned!
