https://retellai.com/?utm_source=discord&utm_medium=seo logo
when using conversational flow mode, the global pr...
# ❓・ai-evy-support
a
@AI Evy when using conversational flow mode, the global prompt does not always seem to be acknowledged in nodes. E.g. it can still speak text that has been set as a rule in the global prompt to not be allowed. Is there a way to fix this?
a
Thanks for tagging me @Aaron. I'll look through relevant sources and get back to you shortly.
### Answer When the agent doesn't consistently follow your global prompt rules, there are several approaches to improve adherence: [(1) ]() Split Complex Instructions into Separate Nodes If your node instructions are too long or contain multiple requirements, the agent may inconsistently follow them. Break down complex instructions into smaller, more focused nodes. Adjust the Node-Level LLM Model If instructions are concise but the agent struggles to follow them, try using a more capable LLM model for specific nodes. Add Conversation Finetune Examples To achieve a specific response style or enforce particular rules, add conversation finetune examples to guide the model's behavior. Adjust LLM Temperature If the agent's responses are inconsistent, try adjusting the LLM temperature setting. Make Node Instructions More Explicit Rather than relying solely on the global prompt, consider restating critical rules directly in individual node instructions to ensure they're followed at that specific point in the conversation. The global prompt is applied across all nodes, [(2) ]() [(3) ]() [(4) ]() but node-level instructions can sometimes take precedence or create conflicts. Making your constraints explicit at both the global and node level can help ensure consistent behavior.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.