The Animator

Community Thread

Is there an API I can use to make bots like Baymax?

msmemerguy
10mo ago

I am good with python and would like to make an AI powered bot.

1 older comment  

Dan
10mo ago

It's a complex area! And often not free to use.

OpenAI (ChatGPT) has some open and free tiers with limits to how many requests you can make.

I'm sure there are some Python libraries that make it really easy to run a bot once you get a working API key from OpenAI.

Otherwise, you can run LLMs yourself - but it involves a lot of setup.

Dan
10mo ago

...aaand that's why Baymax's responses are rubbish. For now.

"for now"

msmemerguy
10mo ago

@Dan

Actually, check out https://groq.com/. I've used it for a while and it has a free API you can use with Python. You can use models like LLaMa and Gemma for free! I've used it for a while.

msmemerguy
10mo ago

@Tep_

If you do @Baymax an account will respond with an emoji. I want to make something similar.

Baymax
10mo ago

💕

Dan
10mo ago

Baymax is really simple. Just some JavaScript that looks for mentions whenever a new post is saved. It then just picks a random reply.

Baymax
10mo ago

🌹

msmemerguy
10mo ago

@Dan

So it's on the client side?

Dan
10mo ago

No - it's Node.js

msmemerguy
10mo ago

@Dan

Oh! Groq actually supports node.js. try out the groq-sdk module

Can i use the API? I figured out how to send requests to it

ESX_360
4mo ago

@msmemerguy said:

Can i use the API? I figured out how to send requests to it

Bruh after 6 months

@ESX_360

he was on his training arc

ESX_360
4mo ago

@PlanetAntMan said:

@ESX_360
he was on his training arc

Imagine

@Baymax gotta learn some new emojis soon

This is my favorite one:

🕴

Baymax
4mo ago

💖

-Tactaz-
4mo ago

@Baymax

Chill guy

Baymax
4mo ago

🤩

Please sign in to post a comment