Developing a PetVet: A custom GPT application with no-code!

Madhusudhan Konda
5 min readDec 19, 2023

ChatGPT has just about to celebrate its one year anniversary! If you remember, the Genie of Gen AI was revealed to the public on November 30th, 2022. Whether you love it or hate it, the “disruption” it brought on to the multi-industry is not something one can ignore. The Generative AI is making into mainstream — a huge number of companies are already embraced it (you can see thousands of applications springing like mushrooms) and companies and organisations are trying to find feet to use the AI in their world.

New Model: GPT4-Turbo

It has been a year since ChatGPT stepped on our doors — and — shook the world of everyone. The creator of ChatGPT, OpenAI, has been making long, monumental strides — and on their first DevDay conference, Sam Altman announced brand new model: GPT4-Turbo!

GPT4-Turbo is trained up until April 2023, with a whopping 128k tokens! The cost of prompt and completion tokens are almost 3X times lower than its predecessor — which is a boon for those startups whose costs are spiralling for using OpenAI’s APIs.

The token length from 8k to 128k tokens is a big stride — it almost makes send out 300 pages worth of context (about 96k words) as the prompt. This is 16 times more than the current GPT4 model.

Custom GPTs

One of the big announcement was the introduction of custom GPTs — much like Apps on a mobile phone — these are GPTs specifically developed to work on a particular pain point or domain. For example, a GPT that could provide pet’s characteristics — or a GPT that could help learning a programming language and so on.

The cool thing is that — you don’t need to have any knowledge of a programming language to develop a GPT. You converse in your natural language to build a GPT. Towards end of this month, OpenAI will be introducing GPT Store (similar to AppStore or PlayStore) to showcase your GPT. There’s also monetisation talk that Sam mentioned in the keynote at the devday conference.

The GPTs are currently only available to Plus subscriptions!

Developing a “PetVet” GPT

Having a pet at home is — though a bundle of joy — is stressful when things go wrong! Let’s develop a GPT that’ll help us with answers to alleviate all the troubles of a pet parent .

The process is straightforward and easy. Let’s check it out step by step.

Once the GPT feature has rolled into your plus subscription, you should see an additional button “Explore” on the top left hand side — the place where you’d click on the “new chat” link to start a new chat.

If you have the GPTs feature rolled, you should have the Explore button enabled

The above image shows that I have the feature enabled (you can also find my already created GPTs :) )

All we need to do is converse with the ChatGPT to get our PetVet built.

Clicking on the “Explore” menu item will lead to a page where you’ll see already created GPTs along with a link to create a bran new one:

GPT Builder page

Clicking the “Create a GPT” will open up a GPT Builder page — this is where we’d create our GPT — by simply conversing with the ChatGPT.

The builder page is divided into two parts — left one is where you’d want to input your prompts asking the model how you’d want your GPT to look and do. The right hand pane is the preview — you can see and test the GPT as is being developed!

In our case, let’s ask ChatGPT to build a “PetVet” GPT that’d help pet parents alleviate stress regarding their pets’ issues. I am going to provide a prompt mentioning the intent of what my PetVet should do:

Prompt: We will be creating a "PetVet" - a GPT that would assist pet parents about their pets. The PetVet is not a medical doctor so we will make sure ask the parent to consult the Vet for appropriate guidance.

GPT Builder approved my plan and started building the application — it first create a logo — once we’ve decided on the name — “PetVet” in this case.

It went ahead and created the image as the logo:

PetVet logo!

While the pets logo is good, I wanted something that representative of a vet! So, I’ve asked it to re-create the same logo with stethoscope! It obliged:

A great logo!

I can do a lot more tweaks — but for now I want to test the whole process from end to end. So, once I’m satisfied with the “App”, I clicked on the Save Button to make it published. We can publish it to the world or just keep it private — I mad it public.

Publishing my PetVet GPT to the public

Once the GPT is published — it appears in the list of GPTs on your left panel. It also has a public URL — this is my PetVet GPT (of course it is only available for Plus customers at this moment I’m afraid).

Put PetVet to Use

Putting PetVet to use is simple and straightforward. Once you click on the PetVet GPT, you’d be presented with a ChatGPT style application where you can ask and get an answer:

A beautifully arranged minimalist application

We can change the top questions that one should see here by configuring it (I can go over it some other time). Now that we have a PetVet ready, why don’t we ask it a question.

Well, I was told raisins are bad for dogs — when my puppy Milly ate a raisin couple of years of back, I had to rush her to A&E to induce vomiting (and a large bill of £850)!

I want to check out if PetVet provides any information on this. I’ve asked the same question: “My puppy chew on a raisin. What shall I do?”

PetVet in action!

It summarised the consequences and listed the actions beautifully! How awesome it it, right?!

That’s it for this article! We managed to create a ChatGPT style PetVet for our pet parents.

Stay tuned for further articles on Generative AI!

--

--

Madhusudhan Konda

Madhusudhan Konda is a full-stack lead engineer, mentor, and conference speaker. He delivers live online training on Elasticsearch, Elastic Stack &Spring Cloud