https://discord.gg/botpress logo
Reducing latency for bot response
# 🤝help
f
My bot takes 7-10 seconds to respond to a user. It's a basic chatbot linked to two native KB tables. It feels like this is a basic cofig that should have low latency. What are some tips and tricks to reduce latency? Or am I screwed b/c Botpress is a wrapper around LLMs and will always have latency? I will migrate off Botpress if I can't fix it to be honest.
w
What llm are you using ?
That's the main reason
If you use a model from Cerebras for instance , that'll be super fast
f
I'm using GPT-5
I switched it to Cerebras and it's way faster. How's the output quality in comparison though ?
w
That's why, gpt 5 is very slow
Depends on the model
You can try other models as well
I really like Gemini 2.5 flash
Really good and fast
l
I feel GPT-4o is better than 5 in many areas
f
Are you guys using evals to measure output quality?
w
Hum not really, It's more subjective, depending on the task I want AI to achieve