https://discord.gg/botpress logo
Crazy Error
# šŸ¤help
e
So I just got the craziest error. I got an error from a chatbot. Opened the log and had this pop up (sceenshot)
Copy code
{
  "name": "Error",
  "message": "No output from LLM",
  "stack": "Error: No output from LLM\n    at executeIteration (https://studio.botpress.cloud/assets/index-a071055.js:1436:4157)\n    at async Object.executeContext (https://studio.botpress.cloud/assets/index-a071055.js:1436:1625)\n    at async https://studio.botpress.cloud/assets/index-a071055.js:72:584\n    at async processAutonomousLLMZ (https://studio.botpress.cloud/assets/index-a071055.js:2181:15502)\n    at async Ni.processEvent (https://studio.botpress.cloud/assets/index-a071055.js:2202:1572)\n    at async runDialogEngine (https://studio.botpress.cloud/assets/index-a071055.js:2202:6506)\n    at async startEventProcessing (https://studio.botpress.cloud/assets/index-a071055.js:2202:6298)\n    at async https://studio.botpress.cloud/assets/index-a071055.js:2225:876\n    at async https://studio.botpress.cloud/assets/index-a071055.js:72:584\n    at async Vi.handleEvent (https://studio.botpress.cloud/assets/index-a071055.js:2225:353)\n    at async https://studio.botpress.cloud/assets/index-a071055.js:2223:5339\n    at async https://studio.botpress.cloud/assets/index-a071055.js:72:584\n    at async Vi.onMessage (https://studio.botpress.cloud/assets/index-a071055.js:2223:5296)\n    at async https://studio.botpress.cloud/assets/index-a071055.js:14429:85480\n    at async sendMessage (https://studio.botpress.cloud/assets/index-a071055.js:14583:1103)"
}
https://cdn.discordapp.com/attachments/1376638942425776279/1376638942664720465/image.png?ex=68360e6c&is=6834bcec&hm=53ff2c781ce139a7eec7812cda250d928b5571ddd5c4a907a7d441d5d28b3249&
When clicking on the link of the executeIteration it takes me to another chatbot in my workspace.
I am so confused
p
Did you change anything recently? Have you tried with a different model?
e
I just sent the same thing again and it worked
it was just so weird
so I just sent it here for documentation purposes and if you knew maybe what could have gone wrong
p
I have seen a few of these errors but still no official diagnosis unfortunately.
e
okey
n
The error ā€œNo output from LLMā€ in Botpress usually means the Large Language Model (like OpenAI) didn’t return a response. This can happen if the API key isn’t set up correctly, if the key is expired, or if the request limit has been reached. It can also occur if the prompt sent to the LLM is empty or invalid, or if the LLM card in your flow isn’t configured properly. Sometimes, temporary issues with Botpress or the LLM provider can also cause this. To fix it, check your API settings, ensure the prompt is valid, and make sure the LLM card is used correctly in the flow. I think this would work , give it a try
l
Like Leanne mentioned, at times LLM will fail to generate a response. In such cases you have your LLM being instructed to try again. Since the prompt is converted to a code so at times the iteration fails
2 Views