Vanarian
Vanarian12mo ago

I start with Telegram Bot node then PaLM

I start with Telegram Bot node then PaLM API Chat to generate answers from user's messages then Send Telegram Message node with the proper chat ID and PaLM API as Text then Return Node with Telegram Response. It remains dead silent. What am I doing wrong ?
2 Replies
Gaurav Chadha
Gaurav Chadha12mo ago
Hi you can check the logs to confirm if the Telegram Trigger is getting triggered or not. To check logs you can refer - https://docs.buildship.com/logging. Also test individual node to ensure they are sending correct response. The PaLM API - Chat does not require API key, just in case you can use secrets manager to store any keys - https://docs.buildship.com/secrets. Also to note, that the output generated by PaLM API is in the format of JSON Object, which might be an issue to get respone on Telegram. If you want to use the PaLM API, then you'll need to convert the JSON response to String.
Vanarian
VanarianOP12mo ago
Hi thank you for your reply! Well noted thanks a lot That's definitely the string issue I will report the results ASAP