https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi evy, are there docs that exist for optimal prom...
# ❓・ai-evy-support
b
@AI Evy Hi evy, are there docs that exist for optimal prompt language based on which llm is chosen?
a
Thanks for tagging me @breeshwayne. I'll look through relevant sources and get back to you shortly.
### Answer --- Yes, Retell AI has documentation on prompt engineering best practices [(1) ]() . The [Prompt Engineering Guide]() provides best practices for writing effective prompts that create reliable and natural-sounding AI phone agents . The guide covers general prompt engineering principles that apply across LLMs, including: - Using sectional prompts to break large prompts into focused sections for better organization and LLM comprehension - Explicit tool calling instructions to help LLMs determine when to call tools - When to use Conversation Flow for complex tasks instead of managing everything in a single prompt For LLM-specific considerations, the [Custom LLM Best Practices]() guide notes that when using function calling, setting the temperature lower can help boost accuracy [(2) ]() . It also recommends keeping responses short and concise, and keeping prompts concise since longer prompts can actually harm performance . The documentation doesn't provide LLM-specific prompt language variations (like different prompts for GPT-4 vs Claude) , but rather focuses on universal best practices that work across models [(1) ]() . **
​ To learn more, see the sources I considered: [[1] Prompt Engineering Guide](https://docs.retellai.com/build/prompt-engineering-guide) [[2] Custom LLM Best Practices](https://docs.retellai.com/integrate-llm/llm-best-practice) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.