Files
tfm_ainventory/config/ai_prompt.md
Daniel Bedeleanu 6c57b1b0c2 blabla
2026-04-14 22:54:19 +03:00

1.6 KiB

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" } ] }