adrienne pfp
adrienne
@adrienne
Building an AI bot in public (cont.) I made the changes to provide the bot with expanded transcript excerpts so it has more context to answer questions and gave it timestamps so it can make more specific video recommendations. Was pretty happy with the results testing locally. Ran into a few issues when I pushed to prod, most I think are resolved. It was also firing off multiple replies. I had already implemented dedupe logic so not sure what's going on. Could neynar webhook be firing multiple times? When the bot recommends a youtube video it should now update the URL so the video starts at the relevant timestamp. It's still trying to use markdown to recommend videos even though I've instructed it not to. But I'm mostly done for the day so will iterate a bit in the coming days.
6 replies
1 recast
19 reactions

Manan pfp
Manan
@manan
Usually, if you're receiving multiple webhooks it might indicate that those are retries because the first webhook did not respond with a 200. Here's the error log we received from your server on the first delivery attempts - "Post https***farcaster-101-api.**********.com/webhook_**\: context deadline exceeded"
1 reply
0 recast
1 reaction

adrienne pfp
adrienne
@adrienne
Ahhhh! Helpful, thank you. Will check tomorrow what response I’m sending back and under what conditions There were a few errors being thrown so even though it was posting a reply maybe if never responds with a 200 @jrf fyi might be helpful for you too
0 reply
0 recast
0 reaction