I made a bot that uses an LLM to answer queries with context and attachments, if its of interest to the discord. commands are /ask <your message>, for a singular enquiry, /cont is for context. it will add to the token counter you see. to continue a conversation from the previous messages. /cont <your message>
the /reset command will reset context so if you want to clean its slate. users will use this too when another user is done with their conversation
the /reboot command reboots the bot
the /botchannel command is its active channel, you select the channel it will take commands it. it will continue to take commands from admins in any channel though.
the !file command is for attachments. so images, or text, or cpp or python code. you attach it to the message with ! file
the only active commands for non admins is /ask /cont /reset and !file
#Proposal for intelligent AI unreal bot i made for the discord
1 messages · Page 1 of 1 (latest)
Just gonna chime in to say we need less LLM generated content here imo
(to clairify I'm not against LLM usage, but UE is a niche topic and most LLMs can't generate accurate answers for it which confuses people new to UE)
if we do have any LLM bots added we should make sure the output mentions that it was generated for when it gets copy and pasted
Yep. LLM's are ass for unreal.
We have had users here in the past trying to pass of gpt stuff as their own answers, and it's normally completely wrong, but good enough at sounding correct.
The worst thing you could do is give an LLM a picture of a bp, a system it already doesnt understand well
i understand the concern. but this could actually solve some of those issues by having the answer clearly shown as being by an LLM, so it can be confirmed. intelligence of the model also matters, and that is rapidly improving .it currently is trained on unreal documentation.
And unreal documentation is incomplete, sometimes wrong, and not great
It's not going to solve any issues by saying its ai gen
Plenty of people willingly use GPT4 and are surprised when it leads them down a false path, yet still return
also the example is wrong
In its present (and likely future state, given it needs training on aspects of the engine not available) it's just not something I feel the unreal ecosystem needs
which proves the point of those who already said that it most likely is useless
A bot that gives false hope and answers is not something that is needed
It's just going to end up making more messes for people to clean up imo
Not to mention drowning out actual good quality advice with ai spam commands
yeah it wouldnt be global thats for sure
why did you even pick an example which is already misleading? 😄
it mistakes the material parameters for a material function
im not here to profit. but if its unwanted, thats fine. it works well in other UE discords and covers many enquiries
the downside with current LLMs is they can be confident in answers, while being inaccurate. the mistake is using them as tools expecting the answer to always be correct. they are for guidance, direction, not doing things for you
'useless' is abit of a strong word. its proven useful in more cases than it isnt.
the example is of the free tier model. so while its not the smartest, it can cover alot of topics.
and how many people use it and get to their answer? you only see the examples of it failing here.
That's because people come in here asking questions based on halucinated LLM answers and then they argue with people who know the actual answer
...and frankly we're tired of it
then its better to embrace it. so you can tell people the answer is inaccurate and why, to the LLM. because it will notice its incorrect.
LLMs are generating answers that are leading people to ask the most insane questions and it takes hours to find out the root issue or that they asked a LLM to begin with
look dude I'm sorry but it's not worth the hassle
do you want the mess of LLM generated knowledge throughout all the discord, or focused to one channel where it can be contained?
I don't want it anywhere
well, thats basically saying no to the future matey
people can run their own LLMs or use an external service there's no reason to make it easier to access generated BS here
'generated BS' did you know most of that generated BS is accurate?
it isn't
which is why AI is growing so rapidly.
yea, that comes from the same corner which said that crypto currencies are the future
in their current state LLMs aren't the future
I'm not anti LLM or "AI" I'm anti adding a bot to this Discord or users asking LLMs about UE
that current state is changing weekly. the rapid pace of their intellect is only increasing
they don't have intellect to begin with
if you look at my Github you'll see I also work with LLMs
tell me that 10 years ago
that doesn't mean they're a good fit for every context
or even 1 year ago
Dude this is tired.... you're the only one here in favor of your idea.
Wait for more support to show up because your responses are getting sad now
i watch AI very closely. i use it for UE and unity work all the time. the smartest model. i made this entirely with LLM instructions. is that useless?
I made a full Llama.cpp wrapper for UE with BP and reflection support.... I'm not against using LLMs in the context of UE.
I'm against adding a bot to answer questions about UE on this Discord
i dont see your argument against it as yet
besides its 'inaccurate sometimes'
which people are also
the argument against it is it makes more insufferable idiots that behave the way you currently are
ands we're already tired of dealing with the current batch
no reason to make more
better get used to it, because more people are using LLMs
people can use their own local LLMs or an external service already
your bot is not needed
are you the owner?
Nope but I am a member of the community and this thread is for gathering the community's feedback
alright then your anti AI stance is noted
also every other person in this thread has agreed thus far except you
I'm not anti-AI but you apparently can't read
saying you arent anti AI doesnt mean you arent.
your language shows it quite obviously
i see it in many people
I have provided evidence so stop being intentionally obtuse about this
I don't think you have as good of a read on people as you believe you do
people who find AI threatening generally have the view people do who jump in here quickly to attack it and show their opinions on its immediate downsides, without noting its upsides.
I don't find AI threatening and use LLMs in all of my current projects for generating content
so please stop making shit up and read what I actually said
i did read what you said. and you're speaking nonsense
I'm not speaking nonsense
'you dont want it anywhere' whats its threat to you? if it has its own channel, its isolated. it wouldnt bother you.
It's not a threat to anybody
nobody is saying it is
please stop making shit up
people already use LLMs for UE advice. this simply allows information to be confirmed in a ue environment
don't twist his words, just because he is realistic about the capabilities of LLMs
they are good at making shit up, which is why your terminal example is completely out of place
*current capabilities
fine for stuff like that
no
CAPABILITIES
the way they work
without extra layers
guess what? we live in the present not the future
i dont think you guys understand progression or AI, youve said your bit.
Why do you think I have all these merged PRs for ggml and llama.cpp? I'm so anti-LLM that I contribute to LLM projects
fair point.
alright. cheers for the discussion.
Why do you think I made it a long time ago? #1264405551513862184 message
...but you're too busy making shit up and saying I gave no proof.
As if I need to prove I'm not anti-AI to be against this particular idea on it's own merits.
(Don't worry I'm done Matt)
maybe not the right time for it. but they will get smart enough to be useful for this task, just that it'll cost right now.
There is a large empty void of UE information available online. The idea that any AI would provide good results is a fallacy.
this discord is online, no? going by its knowledge, it probably has been trained on ue5's source code and wouldnt surprise me if its trained from discord too
It clearly hasn't been though, and no, it would need to join this discord to train on it.
You can't just scrape a server like that
And, no, it also hasn't been trained on the source code
If it had been it wouldn't be so obviously awful at answering questions on it
also it's kind of a fallicy to assume even trained the bot would be right the documentation often is wrong or out of date lol
sure you can. ive done it. lol. people just join as a user and use a chat exporter
which AI? because it's been quite accurate for me. not always though
i think in general people are sick of AI shitposting everywhere, no need for it here too
also, actually calling any AI "intelligent" is pretty far fetched
i mean, sure, if your bot was actually intelligent, i would be all for it, but we all know its not, because of our previous experiences with AI
I mean all of them lol gpt 3.5, 4, claude, copilot (can be alright but mostly meh), youchat, gemini
lol all of them have some level of wrong or hallucination I've for example asked about how to make this function I wrote and I wrote a super detailed prompt with exact requirements just to see how similar it could spit out something cause if I did the same to a person while it could be very different the basics should be the same and it should function basically the same but instead they gave me pseudocode garbage with no basis in reality, half the time they didn't even use the correct unreal libs and just hallucinated new ones.
FVector ClosestVector = OtherVectors[0];
float MinAngle = UKismetMathLibrary::DegAcos(FVector::DotProduct(InputVector.GetSafeNormal(), ClosestVector.GetSafeNormal()));
for (int32 i = 1; i < OtherVectors.Num(); ++i)
{
const FVector& CurrentVector = OtherVectors[i];
float CurrentAngle = UKismetMathLibrary::DegAcos(FVector::DotProduct(InputVector.GetSafeNormal(), CurrentVector.GetSafeNormal()));
if (FMath::IsNearlyEqual(CurrentAngle, MinAngle, 0.01f)) // Allow for small differences due to floating point imprecision
{
// If the angles are equal, choose the vector with the smaller dot product with the input vector
float ClosestDotProduct = FVector::DotProduct(InputVector, ClosestVector);
float CurrentDotProduct = FVector::DotProduct(InputVector, CurrentVector);
if (CurrentDotProduct < ClosestDotProduct)
{
ClosestVector = CurrentVector;
}
}
else if (CurrentAngle < MinAngle)
{
MinAngle = CurrentAngle;
ClosestVector = CurrentVector;
}
}
return ClosestVector;```
@steady plank whats the prompt?
AI improves rapidly, gpt 3.5 was terrible by todays standards
And it's also getting worse.
getting worse? well thats just factually inaccurate
Becuase of the hamstringing done by the AI model developers, it's actually getting worse at answering certain questions.
unless you mean censorship?
I mean answering technical questions, not morally dubious ones.
oh they're definitely getting better at that
sonnet 3.5 for example can write transpilers, before it could not
I don't have it but I do have a similar example
give me ue5.4 c++ function that estimates time to impact for a missile based on a starting position, time to launch, acceleration rate of missile, target position, target acceleration
it gave me this which looks almost passable until you actually start looking too closely
float CalculateTimeToImpact(const FVector& MissileStartPosition, const float TimeToLaunch, const float MissileAcceleration,
const FVector& TargetPosition, const FVector& TargetAcceleration)
{
// Assuming constant acceleration motion for both missile and target
// The equations of motion are s = ut + (1/2)at^2, where s is the displacement, u is initial velocity, t is time, and a is acceleration
// Initial velocity of the missile
FVector MissileInitialVelocity = (TargetPosition - MissileStartPosition) / TimeToLaunch;
// Calculate the relative acceleration between the missile and the target
FVector RelativeAcceleration = TargetAcceleration - MissileAcceleration;
// Calculate the coefficients for the quadratic equation
float A = 0.5 * FVector::DotProduct(RelativeAcceleration, RelativeAcceleration);
float B = FVector::DotProduct(MissileInitialVelocity, RelativeAcceleration);
float C = FVector::DotProduct(MissileStartPosition - TargetPosition, RelativeAcceleration);
// Solve the quadratic equation for time to impact
float Discriminant = B * B - 4 * A * C;
if (Discriminant < 0)
{
// No real roots, meaning no interception point
return -1.0f;
}
// Calculate the two possible times to impact
float Root1 = (-B + FMath::Sqrt(Discriminant)) / (2 * A);
float Root2 = (-B - FMath::Sqrt(Discriminant)) / (2 * A);
// Return the positive root (the one that corresponds to a future time)
return (Root1 > 0) ? Root1 : ((Root2 > 0) ? Root2 : -1.0f);
}```
You realise what "certain questions" means, right?
which AI? try it with sonnet 3.5. but be more descriptive with your prompts. prompts are everything
It means it may be getting better at some things, but not others.
your prompting is not good, so the output will be not good
why would I spend that much time writing a prompt when I could literally just write my own function in half the time
slow at english fast at code i guess?
it literally takes longer to get a good anwser than it does to code it out and nah they are just shit, I tried to get it to clean up this function by walking it through all the flaws and it still struggled I'm not going to teach a glorfied google search how to do it's job
it's not AI its a token system based on mass data scrapping they are not the same
'glorified google search' lol. which AI are you using?
you dont have curiosity unfortunately so, that is in conflict with growth
I have lots of curiosity but I'm also not going to waste my own time on a rabbit hole with 0 benefit I have tried all the current LLMs they are best used as summary machines nothing worth their subscription fees
going by the prompt its a user skill issue. i use it to make amazing things
lol "skill issue" my brother in Christ that isn't a very useful skill go apply for a programming position and list LLM prompting on your resume and see how fast you flunk a technical test
well prompt engineering is a fast growing field btw.
The only story I've heard of a company hiring prompt engineers is that they almost immediately got let go because they couldn't actually do anything useful.
Why is this thread still going? #1264405551513862184 message
And I challenge you to find a story about a prompt engineer having a succesful career that isn't a joke.
hoenstly I thought it was locked lol
because you're replying to it lol
Matt already said no.... let's just leave this delusional person alone
its so hard though I want people to see the light 
anti AI peeps will have to face the music at some stage 😉
lol not if the lawsuits even halfway succeed
Nobody here is anti-AI. They simply believe the current gen AI is not good enough.
I won't bother going through this again but not everybody who disagrees with you is "anti-AI"
there is no curiosity here, immediate dismissal doesn't form discussion and ideas
This forum is about us as a community making decisions about the server... go be curious in an appropriate place. This place is for making decisions
developers find AI a threat. i understand that
but its irrational to say that AI is useless, and unintelligent
No. AI is a tool to be used by developers. And it has its place. It's just awful at UE right now.
No we don't you've decided this is our rationale despite us explaining what is the actual reason for rejecting your idea
It does to the rest of us.... you are literally alone on this.
Why don't you read what we posted instead of making shit up in your head about what's going on.
then why are you here? you cant prompt = AI bad
I'm here because you won't stop putting words in our mouths
so please stop that at least
im not alone at all. AI is the fastest growing field there is
the people who understand are implementing these bots
ok cool well you've been told it won't be happening here
this is you putting words in our mouths again... we have clearly told you we are not anti-AI
and the other people in this thread know I use LLMs a ton
FYI people have made your exact comments for like months if not longer lol it hasn't changed anyones minds
no it isn't
'im not anti AI i have an LLM friend'
proceeds to immediately dismiss AI and with zero curiosity of the capabilities of the AI on offer or the more intelligent options
can you really just not accept that somebody is pro LLMs in several areas and not in favor of adding a bot to this server?
You need to learn to separate "I hate AI" from "I don't think AI is good enough for what you're suggesting"
nearly a year ago got the same anwser
I litteraly use 3.5 all the time just not for this stuff
going by what people are saying, they have not used the latest AI, or not following it
what's this "zero curiosity".... I know I don't want a bot here because I already work with LLMs daily
sonnet 3.5?
no that's not what anybody said... we said the opposite and you decided we were lying to you
we don't want any bot reguardless of the model here
proves my point
dude I am trying really hard to not call you stupid... but you need to start really rethinking how to have a conversation with people
(or call you worse)
dont get mad because you got caught out in your lie
i use sonnet 3.5 daily I just don't want it here
what lie?
doesn't prove anything
so what's the lie....
that you're not anti AI
that's not how anything works
I'm not automatically "anti AI" because I don't want a bot here causing issues
In any case, even if there was a bot here, it would create more problems than it solves simply because the people who actually used it would be crap at writing prompts.
'causing issues'
frankly... users like you are an issue too
People who are good at writing prompts already have their preferred AI they interact with.
<@&213101288538374145> could we get this locked its just going round and round a no by mods was already given
yet you already have people answering questions with poor prompting and arguing against it
confine it.
Or, just not have it, much simpler
thanks for that surprised Matt didn't lock it the first time
that'd be rejecting reality good sir
It's not rejecting reality though, it's rejecting your tool
yeah
na people use it to answer questions here already
It's an amusing break from what I should be doing.
And those people get jumped on for their clearly incorrect, awfully verbose answers
then why the dismissal?
Yeah, let's not use AI to answer questions :P
dude the admin said no
#1264405551513862184 message
"People do it so why not endorse it" isn't convincing
then stop replying lmao. its not hard
The problem with AI, and AI generation tools, is the models are just not there to provide good answers. Average answers yes. Good answers no. There is way too many people coming here saying, "chat gpt told me this", "chat gpt gave me this code", etc.
same to you... literally nobody agrees with you so stop posting
yeah chatgpt aint that smart
It's hard to stop when your pride is hurting.
sounds to me like they came in here that way already
I locked the thread by now.