We already had a look at the various kinds of content that our great friend ChatGPT can generate. We know it can write, but not only can it write, it can also convey emotions, and not only that, it can write in the style of Ernest Hemingway or any other writer in history. Now, this might not be interesting from a software developer’s perspective, but our ChatGPT’s capabilities in coding and programming are equally impressive.
And even if you are NOT a programmer, please, keep on reading as there is a rising number of non developers devising their own coding solutions with the help of ChatGPT without any actual prior knowledge of the subject. If you can put it in the right words, ChatGPT will do it.
When prompting the bot with anything, you should specify exactly what you want and how you want it. Well that is if you are looking for specific output. Considering programming, which is huge ecosystem we we all know the term programming languages, I asked the bot which it knows and can write code in.
You can simply ask ChatGPT to write you a function in specific programming language. And in case you don’t know which programming language to use, you may simply tell the bot what you need to achieve or what idea you have and ask him if it is possible and via which language and how would it go about it. Then you can just watch the screen as the code is being written.
After it generates code, you can always tell the bot to alter some part of it to tailor it to specific needs and conditions. You can feed the bot your own custom code, and it will recognize what it is, what it does, and if it can be improved. It can help you debug; just give it your error and a little bit of context, and that’s it. Sometimes even the context is not necessary.
Since ChatGPT can actually write code and knows much more than each one of us, you can start cooperating with our bot on anything you had in mind. Any new program, app, website, extension, module, any kind of system or tool can be programmer using AI programmer itself. And not only it will give you the specific code, you can discuss everything – the bot’s ideal approach to such issue, structure of a project, from high to low level overview and specific tasks to be done. When I asked what ChatGPT can do:
Yea, games, scraping, TRAINING MACHINE LEARNING MODELS. Do you understand? You can use this AI to build another AI and so on and so forth. So you know, this is where the rumours are from, that the next AI will build new AI itself 🙂 Now talk about progress of human race.
Have a look at the official overview to get you started – https://beta.openai.com/docs/models/overview
Now the crucial resource – https://beta.openai.com/playground – this is something between the bot’s frontend client everybody uses and something behind it. Here you can experiment, try different parameters the bot uses etc. However it costs money for the main model. Some are free.
There is also https://openai.com/blog/openai-codex/ – this is strictly for coding – have a set of comments of how a function should be layout out with specific functionality described and it will generate the code for you. This model is available via Playground and it is free.
Finally an interesting one https://beta.openai.com/tokenizer – everything is calculated to tokens (imagine it as subwords) which cost money. So this tool allows you to calculate tokens used.