So im trying to make a ai chatbot system (the system is a model by the way) but its giving me an error

local Body = HttpService:JSONDecode(Response["Body"])
-- here
			for _, Choice in Body.choices do -- this IS a loop

ohhh okay thanks bro lemme test it out now

hm theres a new error

yea that’s the problem. you are trying to LOOP through something non-existent. how did you even code this? genuine question

i didnt code this, this was a model from the toolbox

did you do modifications? send me the link

to the model or my game file? if the model i just tried finding it and i cant

did you get the model from this guy by any chance

no not that guy i just found it in tool box when searching ai chat bot

the thing with free models is that most of them are broken/faulty code

did you change anything or what

no i did not change anything do you know any models that would work

i tried that tutorial but it seems as if the website linked in the description is taken down

no its not

i need to go onto that lui website to get a key for my ai

oh mb

try this

and if it doesn’t work there are other videos

thats a video of the guy making one sadly no tutorial

oh damn idk how to help you then (0 knowledge with creating chatbots)

dang its alright thanks for trying bro

1 Like

ay but if u know scripting could u help me with an avatar game? like avatar the last air bender