### Answer
The example repos for custom LLM integration are currently outdated [(1)](
) . However, you can find working code examples in:
For Node.js:
- [Azure OpenAI](
)
- [OpenAI](
)
- [OpenRouter](
)
For Python:
- [OpenAI](
)
Additionally, if you're using the new dashboard version and encountering a 500 error while testing custom functions, this appears to be a known issue - you can switch to the legacy dashboard by clicking on your account icon at the bottom left corner to test your custom functions [(2)](
) .
For optimal performance, consider these best practices:
- Keep prompts concise as longer prompts can harm performance
- If using a large knowledge base, consider using RAG to filter relevant information
- When using function calling, set lower temperature for better accuracy [(3)](
)