DEV Community

Cover image for Use ChatGPT to "talk" to your website

Use ChatGPT to "talk" to your website

Thomas Hansen on January 23, 2023

We've just released a new version of Aista Magic Cloud. The primary feature in this release, is that it allows you to copy and paste a JavaScript t...
Collapse
 
ravavyr profile image
Ravavyr

Can you guys turn it into a browser extension that crawls and does this for ALL API documentation websites and AWS and Azure docs?
Because that would literally save like a million man-hours a year for companies around the world.

Collapse
 
polterguy profile image
Thomas Hansen

You can upload XML, JSON, CSV or YAML files. We're not planning a browser extension at the moment - But it's a good idea, so you never know ... ;)

Collapse
 
tr11 profile image
Tiago Rangel

Yeah please!!!

Collapse
 
ravavyr profile image
Ravavyr

Aww man, i'm bummed, went to the site to try it out and my first question crashed it lol
gyazo.com/e11f4baf1e5e3f1d3dcb9ff4...

Collapse
 
polterguy profile image
Thomas Hansen

Darn it! It's not us, it's OpenAI ... :/

Collapse
 
ravavyr profile image
Ravavyr

oh hm, maybe add a thing to your code to catch error responses and go "chatgpt is down again" lol

Thread Thread
 
polterguy profile image
Thomas Hansen

VERY good idea! I just released this like an hour ago though, so everything is a bit "BETA'ish" ... :/

Thread Thread
 
ravavyr profile image
Ravavyr

tried it again, dunno if it's helpful to you:
gyazo.com/2f51279dc739a7fc4cbebaea...

Thread Thread
 
polterguy profile image
Thomas Hansen

Thank you, at least it worked. The model I'm using currently only has about 50% accuracy. It needs to be trained multiple times to give higher accuracy. Did you watch the video? It kind of explains things.

Also, it will never answer questions that aren't relevant to the site you're browsing. So try to ask something that's relevant, such as "What us Hyper IDE?", etc ...

The last is kind of "the point" too, and how it's suppose to work ...

Thread Thread
 
ravavyr profile image
Ravavyr

well no, look at the response i got, it was an API issue with the JWT token.

Thread Thread
 
ravavyr profile image
Ravavyr

by the way, this time it worked!
gyazo.com/39a04b0c2e5cb2672c51dc2f...

Thread Thread
 
polterguy profile image
Thomas Hansen

Hehehe :D
That answer was roughly 90% wrong! But we'll get there with a couple of reinforced training sessions. First of all, we're in Cyprus, not Germany. But it's "getting there" ... ^_^

Thread Thread
 
polterguy profile image
Thomas Hansen

Actually no, it is a "semi relevant" answer. System endpoints is a part of Magic. It just doesn't make sense in this context ... :)