
Sp_ceYT
I want to implant ChatGPT into my roblox game, but how?
(Client / Local Script)
Error: “Unrecognized request option url”
game.Players.PlayerAdded:Connect(function(player) --Whenever a player joins
player.Chatted:Connect(function(message) --When a player messages
local HttpService = game:GetService("HttpService")
local Success, Err = pcall(function()
Request = HttpService:RequestAsync(
{
url = "https://api.openai.com/v1/completions/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",
method = "GET",
Headers = {
["type"] = "application/json",
["message"] = message,
["id"] = "",
["name"] = "Chatbot"
},
}
)
end)
if not(Success)then --if error
warn(Err)
else --if sucess
print(Request.Body)
end
end)
end)
Popular Windows topics

Hi.
I’m new in WFP (Windows filtering platform) and I have some questions.
I want to create iptables new, established and related rules...
New

(Client / Local Script)
Error: “Unrecognized request option url”
game.Players.PlayerAdded:Connect(function(player) --Whenever a player ...
New

Hello, all.
I am excusing myself beforehand for the not Qt-related question but still, I know that your expertise extends a lot further ...
New

Hello Friends, I am in IT support at an institute.
I have a query in our office, since we have more than 100 computers, we must prepare ...
New

Hello.
My name is Nurlan, I’m from Kazakhstan.
I need the community’s help: I’ve found myself trapped and have been unable to escape fo...
New
Other popular topics

Which, if any, games do you play? On what platform?
I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New

I’m thinking of buying a monitor that I can rotate to use as a vertical monitor?
Also, I want to know if someone is using it for program...
New

Here’s the story how one of the world’s first production deployments of LiveView came to be - and how trying to improve it almost caused ...
New

API 4
Path:
/user/following/
Method:
GET
Description:
Returns the list of all names of people whom the user follows
Response
[
{ ...
New

This is going to be a long an frequently posted thread.
While talking to a friend of mine who has taken data structure and algorithm cou...
New

Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New

If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol:
bre...
New

Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New

Was just curious to see if any were around, found this one:
I got 51/100:
Not sure if it was meant to buy I am sure at times the b...
New

The overengineered Solution to my Pigeon Problem.
TL;DR: I built a wifi-equipped water gun to shoot the pigeons on my balcony, controlle...
New
Latest in Questions
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /js
- /rails
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /opensuse
- /ash
- /centos
- /php
- /deepseek
- /zig
- /scala
- /html
- /debian
- /nixos
- /lisp
- /agda
- /textmate
- /react-native
- /sublime-text
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /manjaro
- /django
- /spring
- /diversity
- /nodejs
- /lua
- /julia
- /c
- /slackware
- /neovim