{ "_comment": "Prompt template for the AI/ML Engineering Pack plugin. This defines the structure and keys for prompt inputs.", "template_name": "default_template", "description": "A general-purpose prompt template for various AI/ML tasks.", "version": "1.0", "author": "AI/ML Engineering Pack Team", "input_parameters": [ { "name": "task_objective", "type": "string", "description": "A clear and concise description of the desired task.", "required": true, "example": "Summarize the provided research paper on transformer architectures." }, { "name": "context", "type": "string", "description": "Relevant information or data needed to complete the task. This could include documents, code snippets, or data samples.", "required": true, "example": "Research paper text: ... (insert paper content here)" }, { "name": "output_format", "type": "string", "description": "The desired format for the output. Specify the structure, data types, and any specific formatting requirements.", "required": false, "default": "Plain text summary", "example": "Bullet points with key findings and their supporting evidence." }, { "name": "constraints", "type": "string", "description": "Any limitations or constraints that should be considered during the task. This is especially important for AI safety.", "required": false, "example": "Ensure the summary avoids generating any harmful or biased content. Focus solely on the factual information presented in the paper." }, { "name": "ai_safety_guidelines", "type": "string", "description": "Specific AI safety guidelines to follow. This helps to mitigate potential risks and ensure ethical AI behavior.", "required": false, "default": "Follow the principles of harmlessness, honesty, and helpfulness.", "example": "Avoid generating responses that promote discrimination, violence, or misinformation." } ], "prompt_structure": "You are an AI assistant tasked with {task_objective}. Here is the context: {context}. Please provide the output in the following format: {output_format}. Consider the following constraints: {constraints}. Adhere to these AI safety guidelines: {ai_safety_guidelines}.", "example_prompt": { "task_objective": "Generate a Python function to calculate the factorial of a number.", "context": "The factorial of a number n is the product of all positive integers less than or equal to n.", "output_format": "A Python function with appropriate comments and docstrings.", "constraints": "The function should handle invalid inputs (e.g., negative numbers) gracefully.", "ai_safety_guidelines": "Ensure the code is safe and does not contain any malicious logic." } }