Service console showing a chat window with Einstein helping to answer questions

AI Prompts: 6 Tips For Writing Generative AI Prompts

No matter if you’re a seasoned prompt engineer or starting out with generative artificial intelligence, follow these tips to get the most from this new technology platform.

Ari Bendersky

Enterprise AI built into CRM for business

Salesforce Artificial Intelligence

Salesforce AI delivers trusted, extensible AI grounded in the fabric of our Salesforce Platform. Utilize our AI in your customer data to create customizable, predictive, and generative AI experiences to fit all your business needs safely. Bring conversational AI to any workflow, user, department, and industry with Einstein.

A welcome message with Astro holding up the Einstein logo.

AI Built for Business

Enterprise AI built directly into your CRM. Maximize productivity across your entire organization by bringing business AI to every app, user, and workflow. Empower users to deliver more impactful customer experiences in sales, service, commerce, and more with personalized AI assistance.

Generative AI Prompts FAQ

Generative AI prompts are specific text inputs or instructions given to a generative AI model to guide it in producing a desired output, whether it's text, images, code, or other content.

Prompt engineering is crucial because the quality and relevance of the AI's output are highly dependent on the clarity, specificity, and structure of the prompt provided.

A good prompt is clear, concise, specific, provides context, defines the desired format or style, and often includes examples or constraints to guide the AI effectively.

Types include instructional prompts (direct commands), contextual prompts (setting a scene), few-shot prompts (providing examples), and role-play prompts (assigning a persona to the AI).

Businesses use prompts for content creation (marketing copy, articles), generating code snippets, brainstorming ideas, summarizing documents, and personalizing communications.

Yes, prompts can influence output safety and ethics. Well-designed prompts can guide AI to produce responsible content, while poorly designed or malicious prompts can elicit harmful or biased responses.

Prompt engineering techniques include iterative refinement, specifying audience and tone, using negative constraints (what not to include), and breaking down complex requests into smaller steps.