After deciding what type of prompt or combination of prompts you wish to employ when chatting with your GenAI model, you are ready to begin writing your own prompt.
While is there is no rigid structure nor requirements for authoring prompts, prompts that yield "ideal" or desired responses typically have the following features in common:
- Desired output: Prompts that include desired output(s) allow the model to understand what you are looking for and how to structure their response to match. This might look like including a detailed description of the structure and response type or an example.
- Necessary context: Complex tasks may require additional context to help the model produce a satisfactory response. Examples include providing supplementary information, additional details, and uploading files.
- Concise and intentional: Your prompt should be descriptive enough to provide the model with a thorough understanding of the task at hand, but also short enough to avoid information getting buried. Consider breaking up longer and more detailed tasks into shorter, more concise steps to allow the model the necessary focus points to produce a sufficient response.