DEV Community

Cover image for AI based Software Development
Thomas Hansen
Thomas Hansen

Posted on • Updated on

AI based Software Development

We have integrated OpenAI's ChatGPT horizontally into Aista Magic Cloud. This allows you to use AI to generate code in any programming language by asking the machine to create code for you such as the following.

Create Python code to invoke

Resulting in the following ...

import requests

url = ''
response = requests.get(url)

if response.status_code == 200:
  print(" is accessible")
  print(" is not accessible")
Enter fullscreen mode Exit fullscreen mode

We have integrated this into most parts of Aista Magic Cloud where you are expected to be writing code, such as SQL Studio, Hyper IDE, the Hyperlambda Playground, etc. In addition we have created our own Hyperlambda OpenAI model, allowing you to ask questions such as.

Create an endpoint accepting name, email and address, and store these into my CRM database in my customers table

And the AI model will produce the following for you.

   result:Insert was a success
Enter fullscreen mode Exit fullscreen mode

The above of course is perfectly valid Hyperlambda code, and at this point all you have to do is to save the file, and you've got an HTTP endpoint for storing data into your customers database table that you can start consuming from your iPhone SDK, Android SDK, Angular or React code.

Watch me demonstrate this in the video below.

The system can produce JavaScript for you, HTML, CSS, Ruby, Python, C++, GoLang, Hyperlambda, everything really. And the cost of a query is typically 1 cent. Implying if you ask it 100 questions per day, the cost becomes 1 dollar per day.

A guesstimate is that this makes me some 10 to 20 times as productive, by not having to wade through endless Google search results, StackOverflow answers, or blogs with the information I am searching for hidden behind 15 layers of ads.

You have to be very specific when you ask it questions, and include all the required information it needs to solve your task in the prompt. However, we will allow for "conversations" with OpenAI in the future, allowing you to have it "iterate" its result, improving upon it, by telling it things such as "make it blue", etc.

Combined with Hyper IDE and SQL Studio, this allows you to instantly execute the result that OpenAI gives you, to for instance create SQL DDL scripts for a headless CMS towards your database of choice.

To reproduce what I am doing in the above video, sign up for a free 90 days trial cloudlet below, and let me know in the comments section what you think about it.

Top comments (2)

adam_cyclones profile image
Adam Crockett

So it’s a bit like OpenAPI codex. I think the UI could use some modernisation but I can see you have a whole file tree. I wouldn’t replace my vs code which runs in the browser with this and I could use the ChatGPT function plugin which why I think products like this need to focus on integration to existing tools. Just my 2 cents

polterguy profile image
Thomas Hansen

Thank you. Notes taken :)