https://discord.gg/botpress logo
Force the Autonomous Node to use other syntax than...
# 🤝help
m
Hi team, is there a way to force the bot to not use Markdown in answers? Our prompt clearly states not to use Markdown, and provides another framework instead, but I also noticed that the default system instructions direct the bot to always use Markdown. I suspect this conflict is causing issues. The bot keeps producing ** and # when answering in Google Chat, which are not converted to text formatting due to chat limitations/different formatting rules.
p
Have you tried the policy agent for that?
m
now I did, and it ends up in a loop error? Redacted message: { "name": "Error", "message": "{\"name\":\"LoopExceededError\",\"message\":\"Loop exceeded error\",\"stack\":\"Error: Loop exceeded error\\n at executeIteration ([path/to/botpress/asset.js]:1442:3539)\\n at Object.executeContext ([path/to/botpress/asset.js]:1442:1631)\\n at async [path/to/botpress/asset.js]:78:584\\n at async processAutonomousLLMZ ([path/to/botpress/asset.js]:2187:15502)\\n at async Ni.processEvent ([path/to/botpress/asset.js]:2208:1572)\\n at async runDialogEngine ([path/to/botpress/asset.js]:2208:6544)\\n at async startEventProcessing ([path/to/botpress/asset.js]:2208:6336)\\n at async [path/to/botpress/asset.js]:2231:876\\n at async [path/to/botpress/asset.js]:78:584\\n at async Vi.handleEvent ([path/to/botpress/asset.js]:2231:353)\\n at async [path/to/botpress/asset.js]:2229:5341\\n at async [path/to/botpress/asset.js]:78:584\\n at async Vi.onMessage ([path/to/botpress/asset.js]:2229:5298)\\n at async [path/to/botpress/asset.js]:14458:86244\\n at async sendMessage ([path/to/botpress/asset.js]:14612:1103)\",\"properties\":{}}", "stack": "Error: Loop exceeded error\n at executeIteration ([path/to/botpress/asset.js]:1442:3539)\n at Object.executeContext ([path/to/botpress/asset.js]:1442:1631)\n at async [path/to/botpress/asset.js]:78:584\n at async processAutonomousLLMZ ([path/to/botpress/asset.js]:2187:15502)\n at async Ni.processEvent ([path/to/botpress/asset.js]:2208:1572)\n at async runDialogEngine ([path/to/botpress/asset.js]:2208:6544)\n at async startEventProcessing ([path/to/botpress/asset.js]:2208:6336)\n at async cut the message due to character limit