ChatGGPT
(K_J)
#1
I found this API that lets you make requests to ChatGPT and get responses back for free so yeah I turned that into a module
BTW sometimes it says something about a word limit and it can’t remember past messages (only direct input and output)
ChatGPT.rbxm (992 Bytes)
To use it you just do
require(module).generate("foo")
Here are some screenshots
39 Likes
Very good job, Looks very good
1 Like
Does the website use their own AI or ChatGPT?
2 Likes
ChatGGPT
(K_J)
#5
I think they use ChatGPT there is a low chance they would make their own
2 Likes
It’s a cool alternative to use in small projects instead of paying chatgpt
2 Likes
retasdqwe
(retasdqwe)
#7
Roblox’s gonna get sued by that ngl
3 Likes
The code so you don’t need to download anything:
local module = {}
local HttpService = game:GetService("HttpService");
function module.generate(Input : string)
local requestBody = HttpService:JSONEncode({
message = Input
})
local success, response = xpcall(function()
return HttpService:PostAsync("https://internet.com:8000/messages", requestBody, Enum.HttpContentType.ApplicationJson)
end, function(a)
warn("Error generating message:", a)
end)
return success and HttpService:JSONDecode(response).answer
end
return module
10 Likes
ChatGGPT
(K_J)
#10
Yeah giving people the code instead of a module would have been a better idea
Thanks though
3 Likes
Why would roblox get sued for that
1 Like
NotRapidV
(Rapid)
#12
https://internet.com:8000/messages
Interesting, how did you even find this endpoint lmao
ChatGGPT
(K_J)
#13
I was just looking through the website’s html and I found it lol
Funny, it actually works! And it’s free lol, I love it!1!!
2 Likes
Because they are not paying for it. I don’t think Roblox will be sued, but @ChatGGPT may get in trouble.
1 Like
It would be mostly the website that gets un trouble. We are only the users.
2 Likes
More like a internet.com problem
1 Like
notkokf
(notkokf)
#21
Quite fun and useful. Also, it was about time we got something like this, thx
Created a simple chat system using my UI library.
It also supports coloring code blocks and multiple messages (it remembers previous messages):
Really nice and easy to use
1 Like