Hi,
I'm in the process of setting up a Telegram Bot.
At a certain stage in the scenario, I need to execute an API call to Stack AI.
When I make this API call, I'm using a previous input message (e.g., "hi, how are you"), and Stack AI is expected to provide an AI-generated response.
So far, I've successfully configured other API calls using the HTTP module. However, Stack AI only offers Python or Javascript code as options.
They provide straightforward instructions for integration with Zapier (Integrating with Zapier | Stack AI) using their Python Code module, but I haven't found a similar guide for callin.io.
I've attempted to use HTTP modules and JSCode modules, but I'm still encountering issues getting it to function correctly.
My primary questions are:
- Which module would be most suitable for this task? (And also cost-effective)
- Am I correct in assuming that the HTTP module won't work, and I specifically need to use a Python or Javascript module?
- Do I need to run two separate instances (one POST for the input, one GET for the output), or can this entire process be handled within a single module?
Thank you!
Hi,
On my end, I can successfully make a call to Stack AI using a single HTTP module. However, it might depend on the specific model you're using:
Could you try clicking the “cURL” button within Stack AI? This action should help clarify the required input for the request.
Thank you
Hey there and welcome to the community
We're thrilled to see you found a solution on your own! There's no need to feel embarrassed; you're making progress by learning how to use the product.
Thank you for thinking of the community and sharing your solution with us.