Add Flask web UI, Docker Compose, core engine + tests
- physcom core: CLI, 5-pass pipeline, SQLite repo, 37 tests - physcom_web: Flask app with HTMX for entity/domain/pipeline/results CRUD - Docker Compose: web + cli services sharing a named volume for the DB - Clean up local settings to use wildcard permissions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
37
src/physcom/llm/prompts.py
Normal file
37
src/physcom/llm/prompts.py
Normal file
@@ -0,0 +1,37 @@
|
||||
"""Prompt templates for LLM-assisted passes."""
|
||||
|
||||
PHYSICS_ESTIMATION_PROMPT = """\
|
||||
You are a physics estimation assistant. Given the following transportation concept, \
|
||||
estimate the requested metrics using order-of-magnitude physics reasoning.
|
||||
|
||||
## Concept
|
||||
{description}
|
||||
|
||||
## Metrics to estimate
|
||||
{metrics}
|
||||
|
||||
## Instructions
|
||||
- Use real-world physics to estimate each metric.
|
||||
- If the concept is implausible, still provide your best estimate.
|
||||
- Return ONLY valid JSON mapping metric names to numeric values.
|
||||
- Example: {{"speed": 45.0, "cost_efficiency": 0.15, "safety": 0.7}}
|
||||
"""
|
||||
|
||||
PLAUSIBILITY_REVIEW_PROMPT = """\
|
||||
You are reviewing a novel transportation concept for social and practical viability.
|
||||
|
||||
## Concept
|
||||
{description}
|
||||
|
||||
## Metric Scores
|
||||
{scores}
|
||||
|
||||
## Instructions
|
||||
Review this concept for:
|
||||
1. Social viability — would people actually use this?
|
||||
2. Practical barriers — what engineering or regulatory obstacles exist?
|
||||
3. Novelty — does anything similar already exist?
|
||||
4. Overall plausibility — is this a genuinely interesting innovation or nonsense?
|
||||
|
||||
Provide a concise 2-4 sentence assessment.
|
||||
"""
|
||||
Reference in New Issue
Block a user