The Animator

Community Thread

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

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

1 older comment  

Dan
8mo 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
8mo ago

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

"for now"

@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.

@Tep_

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

Baymax
8mo ago

💕

Dan
8mo 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
8mo ago

🌹

@Dan

So it's on the client side?

Dan
8mo ago

No - it's Node.js

@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
2mo 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
2mo 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
2mo ago

💖

-Tactaz-
2mo ago

@Baymax

Chill guy

Baymax
2mo ago

🤩

Please sign in to post a comment