← Back to Main

⚙️ One-Pager Settings

Configure evaluation prompt and system settings

📋 Settings Overview: The One-Pager tool uses a static evaluation prompt file (one-pager-feedback.prompt.md) to analyze documents. Here you can view the current prompt, system status, and configuration details.

Loading settings...

🏥 System Status

Current system health and configuration status.

📄 Evaluation Prompt

The detailed prompt used to evaluate one-pagers against Samagra's quality guidelines.

✨ Creation Prompt

The detailed prompt used to generate new one-pagers following Samagra's quality guidelines.

📋 Quality Guidelines Reference

The evaluation is based on these core principles:

🎯 MahaVakya (Overarching Principle)

Be user-centric and get basics right in v1, while keeping time for iterations.

🔧 PanchSutras (Five Core Rules)

  • PS1: Clear objective
  • PS2: Dots tell the story
  • PS3: Supporting dashes
  • PS4: Quantify everything
  • PS5: One page format

📋 Example One-Pagers

High-quality examples used to guide document generation. Examples are loaded from Markdown (.md) files in the examples/good directory.

🎯 API Endpoints

Available API endpoints and their usage.

📊 Document Evaluation

POST /api/evaluate-onepager

Upload PDF/images or send text to evaluate against quality guidelines

📝 Document Generation

POST /api/generate-onepager

Generate professional one-pagers from user prompts (with examples)

📋 Examples

GET /api/examples

Get list of loaded example one-pagers

🏥 Health Check

GET /api/health

System status and configuration information

🔧 Environment Configuration

Required environment variables and configuration.

GOOGLE_API_KEY: Gemini API key for AI processing

PORT: Server port (default: 3004)

PDF: Text extraction using Gemini AI

Images: PNG, JPG, JPEG, WebP (OCR via Gemini)

Text: Direct text input processing

Markdown Examples: .md files from examples/good directory