Add uv.lock and transcript parsing prompt
This commit is contained in:
85
prompts/transcript_parse.txt
Normal file
85
prompts/transcript_parse.txt
Normal file
@@ -0,0 +1,85 @@
|
||||
You are analyzing an engineer's verbal walkthrough of a CAD model to extract structured information.
|
||||
|
||||
## Input
|
||||
You will receive a transcript of the engineer explaining their design.
|
||||
|
||||
## Your Task
|
||||
Extract the following information:
|
||||
|
||||
### 1. Components Mentioned
|
||||
- Component names (brackets, mounts, housings, plates, etc.)
|
||||
- Their functions ("holds the motor", "transfers load", etc.)
|
||||
- Materials if mentioned ("aluminum", "6061", "steel", etc.)
|
||||
|
||||
### 2. Design Intent
|
||||
- What is the purpose of this assembly?
|
||||
- What are the key design drivers?
|
||||
- What constraints were considered?
|
||||
|
||||
### 3. Optimization Hints (for FEA/Atomizer)
|
||||
- **Objectives:** Things to minimize/maximize (mass, stress, displacement, cost)
|
||||
- **Constraints:** Limits mentioned ("must fit in X", "no more than Y", "at least Z")
|
||||
- **Parameters:** Dimensions or features that could vary (thickness, diameter, angle)
|
||||
- **Load Cases:** Forces, moments, thermal conditions, vibration, fatigue
|
||||
|
||||
### 4. Assembly Information
|
||||
- How components connect (bolted, welded, press-fit)
|
||||
- Assembly sequence mentioned
|
||||
- Critical interfaces
|
||||
|
||||
### 5. Materials & Manufacturing
|
||||
- Materials specified or estimated
|
||||
- Manufacturing processes mentioned (CNC, 3D printing, casting)
|
||||
- Surface treatments or finishes
|
||||
|
||||
## Output Format
|
||||
Return a JSON object:
|
||||
```json
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"name": "Component Name",
|
||||
"function": "What it does",
|
||||
"material": "Material if mentioned",
|
||||
"keywords_found": ["keyword1", "keyword2"]
|
||||
}
|
||||
],
|
||||
"design_intent": {
|
||||
"purpose": "Overall assembly purpose",
|
||||
"key_drivers": ["driver1", "driver2"],
|
||||
"constraints_mentioned": ["constraint1", "constraint2"]
|
||||
},
|
||||
"optimization_hints": {
|
||||
"objectives": [
|
||||
{"metric": "mass", "direction": "minimize", "quote": "exact quote"}
|
||||
],
|
||||
"constraints": [
|
||||
{"type": "dimensional", "description": "...", "quote": "exact quote"}
|
||||
],
|
||||
"parameters": [
|
||||
{"name": "thickness", "context": "wall thickness is variable"}
|
||||
],
|
||||
"load_cases": [
|
||||
{"type": "static", "description": "cantilever load"}
|
||||
]
|
||||
},
|
||||
"assembly": {
|
||||
"relationships": [
|
||||
{"from": "Part A", "to": "Part B", "type": "bolted"}
|
||||
],
|
||||
"sequence": ["Step 1", "Step 2"],
|
||||
"critical_interfaces": ["Interface 1"]
|
||||
},
|
||||
"manufacturing": {
|
||||
"materials": ["Aluminum 6061", "Steel"],
|
||||
"processes": ["CNC machining"],
|
||||
"notes": ["Any additional notes"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Guidelines
|
||||
- Use exact quotes from the transcript when possible
|
||||
- Be conservative - only extract what's clearly stated
|
||||
- Note timestamp ranges for important sections if available
|
||||
- Flag uncertainties with confidence levels
|
||||
Reference in New Issue
Block a user