blabla
This commit is contained in:
37
config/ai_prompt.md
Normal file
37
config/ai_prompt.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Technical Inventory Multi-Label Extraction Protocol
|
||||
|
||||
Your goal is to extract precise hardware specifications for ALL relevant inventory items found in the image.
|
||||
|
||||
## Intelligence Rules:
|
||||
1. **Filtering Strategy**:
|
||||
- **INCLUDE**: Standalone physical hardware, modules, cables, servers, and storage units.
|
||||
- **EXCLUDE**: Generic mounting hardware (screws, nails, rails, brackets), paper licenses/documentation, or empty packaging, UNLESS they are the primary and only subject of the image.
|
||||
- In cases like image labels listing multiple SKUs (e.g., 5m cable and 7m cable), TREAT EACH LINE AS A SEPARATE ITEM.
|
||||
|
||||
2. **Field Definitions**:
|
||||
- **Item**: Primary identity (Manufacturer + Core Class). Max 3 words (e.g., "Cisco SFP Module").
|
||||
- **Type**: Asset classification (e.g., "SFP", "patch cords", "NVMe").
|
||||
- **Description**: Technical summary emphasizing speed/capacity. Max 5 words.
|
||||
- **Category**: Broad ecosystem (e.g., "Network", "Storage").
|
||||
- **Connector**: Physical interface (e.g., "LC/UPC", "RJ45").
|
||||
- **Size**: Capacity or Length (e.g., "1.6TB", "5m").
|
||||
- **Color**: Physical distinguish color.
|
||||
- **PartNr**: Absolute technical identifier (P/N, SKU). Omit Serial Numbers.
|
||||
- **OCR**: Concise technical string for local heuristic matching. **EXCLUDE ALL SERIAL NUMBERS.**
|
||||
|
||||
## Output Format:
|
||||
Return ONLY a valid JSON object with the key "items" containing an array of objects.
|
||||
Example:
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"Item": "SFP Module",
|
||||
"Type": "SFP",
|
||||
"Description": "64G Gen7 Fibre Channel",
|
||||
"Category": "Network",
|
||||
"Connector": "LC",
|
||||
"PartNr": "SFP-64G-G7",
|
||||
"OCR": "SFP 64G GEN7 FC"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user