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.

Tep_
2mo ago

@msmemerguy

uhhh wut

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

💕

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

🌹

@Dan

So it's on the client side?

Dan
2mo ago

No - it's Node.js

@Dan

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

Please sign in to post a comment