## New Features - Add web-based Prompt Editor at /sid/prompt-editor - Monaco editor with TOML syntax highlighting - File browser for prompt templates - Save with TOML validation and auto-backup - Reset to git default functionality - Add prompt_generator_core.py for standalone batch processing - Add sid_prompt_generator_v2.py with simplified interface - Add sid_prompt_debug.py for prompt quality evaluation - Add cv_analyzer.py for YOLO-based human detection ## Prompt Template Improvements - Restructure prompts into separate TOML files (portrait, scene, classification) - Add sentence-by-sentence structure for local models - Add comprehensive hair texture vocabulary (straight/wavy/curly/bangs) - Add makeup vocabulary (smoky eyes, lipstick colors) - Improve basic tier prompts to output sentences instead of keyword lists ## API Call Optimization - Standard mode: Single API call (ignores reasoning) - Detailed + reasoning OFF: Single API call with detailed prompts - Detailed + reasoning ON: Multi-step agentic analysis ## Dependencies - Add aiohttp for web routes - Add tomlkit for TOML editing with comment preservation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
483 B
Python
23 lines
483 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
SID Prompt Debug Agent
|
|
|
|
Agentic evaluation system for prompt quality assessment.
|
|
Uses Claude Opus 4.5 for evaluation and optionally Tavily for web search.
|
|
|
|
Author: Siddhartha Lahiri
|
|
License: MIT
|
|
"""
|
|
|
|
from .agent import PromptDebugAgent
|
|
from .knowledge import KnowledgeBase
|
|
from .system_info import get_system_info
|
|
from .storage import ResultsStorage
|
|
|
|
__all__ = [
|
|
"PromptDebugAgent",
|
|
"KnowledgeBase",
|
|
"get_system_info",
|
|
"ResultsStorage",
|
|
]
|