Write effective agent instructions to align responses with your goals, minimize hallucinations, and enhance performance.
GenAI Platform Conceptspublic
Generated on 6 Jun 2025
The DigitalOcean GenAI Platform lets you work with popular foundation models and build GPU-powered AI agents with fully-managed deployment, or send direct requests using serverless inference. Create agents that incorporate guardrails, functions, agent routing, and retrieval-augmented generation (RAG) pipelines with knowledge bases.
Agent Instructions Best Practices
Function Instructions Best Practices
Write concise and actionable function instructions by defining purpose, specifying outputs, ensuring concise descriptions, and addressing constraints with structured examples.
Prompt Writing Best Practices
Write effective prompts to maintain a neutral tone, ask focused questions, simplify complexity, and enhance clarity with examples or screenshots.