Posts

#4545 Prompts for Reviewing a Document

#4545 Prompts for Reviewing a Document #4545  Provide the query to validate a software development plan against a TOC-like minimum recommended content list To validate a software development plan against a "Table of Contents" (TOC) or minimum recommended content list, you can use a structured LLM prompt (a "query") that acts as an automated compliance auditor. Here is a highly effective, reusable prompt template you can use with an AI assistant to perform this validation. The Validation Prompt Copy and paste the text below, filling in the bracketed placeholders with your specific details. You are an expert technical auditor and software project manager. Your task is to validate the provided Software Development Plan (SDP) against the Minimum Recommended Content List (TOC) provided below. ### 1. Minimum Recommended Content List (TOC Checklist) [Insert your target TOC or standard here. Example below:] - 1. Project Overview & Objectives - 2. Scope & Exclusi...

#4544 Folder-Based Prompt and Response Workflow

#4544 Folder-Based Prompt and Response Workflow #4544  Provide a python application method that reads a text file from a specified folder, applies an AI prompt to that text content, submits the prompt to a Google Gemini LLM, and writes the response to a text file in another specified folder. Below, you'll find a clean, modular Python script using the official Google GenAI SDK ( google-genai ) to read a file, process it with Gemini, and save the output. Prerequisites First, make sure you have the correct, current SDK installed: pip install google-genai You also need to set your Gemini API key as an environment variable. Linux/macOS: export GEMINI_API_KEY="your-api-key-here" Windows (CMD): set GEMINI_API_KEY="your-api-key-here" Windows (PowerShell): $env:GEMINI_API_KEY="your-api-key-here" Python Script import os from pathlib import Path from google import genai from google.genai import types def process_text_with_gemini ( input_folder:...