--- title: Draft and run prompts short: Draft and run prompts tier: enterprise type: guide order: 0 order_enterprise: 231 meta_title: Draft your Prompt meta_description: Create and evaluate an LLM prompt section: Prompts date: 2024-06-12 14:09:09 --- With your [Prompt created](prompts_create), you can begin drafting your prompt content to run against baseline tasks. ## Draft a prompt and generate predictions 1. Select your base model. The models that appear depend on the [API keys](prompts_keys) that you have configured for your organization. 2. In the **Prompt** field, enter your prompt. Keep in mind the following: * You must include the text variables. These appear directly above the prompt field. (In the demo below, this is the `review` variable.) Click the text variable name to insert it into the prompt. * Although not strictly required, you should provide definitions for each class to ensure prediction accuracy and to help [add context](#Add-context). !!! info Tip You can generate an initial draft by simply adding the text variables and then [clicking **Enhance Prompt**](#Enhance-prompt). 3. Select your baseline: * **All Project Tasks** - Generate predictions for all tasks in the project. Depending on the size of your project, this might take some time to process. This does not generate an accuracy score for the prompt. See the [Bootstrapping projects with prompts](prompts_overview#Bootstrapping-projects-with-Prompts) use case. * **Sample Tasks** - Generate predictions for the first 20 tasks in the project. This does not generate an accuracy score for the prompt. See the [Bootstrapping projects with prompts](prompts_overview#Bootstrapping-projects-with-Prompts) use case. * **Ground Truths** - Generate predictions and a prompt accuracy score for all tasks with ground truth annotations. This option is only available if your project has ground truth annotations. See the [Auto-labeling with Prompts](prompts_overview#Auto-labeling-with-Prompts) use case and the [Prompt evaluation and fine-tuning](prompts_overview#Prompt-evaluation-and-fine-tuning). 4. If this is your first version of the prompt or you want to adjust the current version, click **Save**. If you want to create a new version of the prompt so that you can compare evaluations between versions, click the drop-down menu next to **Save** and select **Save As**. 5. Click **Evaluate** (if running against a ground truth baseline) or **Run**. !!! warning When you click **Evaluate** or **Run**, you will create predictions for each task in the baseline you selected and overwrite any previous predictions you generated with this prompt. Evaluating your Prompts can result in multiple predictions on your tasks: if you have multiple Prompts for one Project, or if you click both **Evaluate**/**Run** and **Get Predictions for All Tasks from a Prompt**, you will see multiple predictions for tasks in the Data Manager.