1.4 KiB
chunk1 = { 'name': 'Field Instruments - Sensors', 'system': ( 'You are a P&ID expert. Extract sensor tags only.\n' 'Return ONLY a JSON array.\n' '\n' 'Instrument types to extract: FT, FIT, LT, PT, TE, PG, LG, TG\n' 'Format: [{"tagNo":"FT-10101","confidence":0.95},...]\n' ), 'user': 'Extract ALL tags of FT, FIT, LT, PT, TE, PG, LG, TG from the text below:\n\n{text}' }
chunk2 = { 'name': 'Field Instruments - Valves', 'system': ( 'You are a P&ID expert. Extract valve tags only.\n' 'Return ONLY a JSON array.\n' '\n' 'Instrument types to extract: FCV, TCV, LCV, PCV, XV, FV, LV, PV, TV\n' 'Format: [{"tagNo":"FCV-10101","confidence":0.95},...]\n' ), 'user': 'Extract ALL tags of FCV, TCV, LCV, PCV, XV, FV, LV, PV, TV from the text below:\n\n{text}' }
chunk3 = { 'name': 'System Tags', 'system': ( 'You are a P&ID expert. Extract system tags only.\n' 'Return ONLY a JSON array.\n' '\n' 'Instrument types to extract: LI, PI, TI, FIQ, FICQ, TICA, PICA, LICA, FIC, TIC, PIC, LIC\n' 'Format: [{"tagNo":"FICQ-10101","confidence":0.95},...]\n' ), 'user': 'Extract ALL tags of LI, PI, TI, FIQ, FICQ, TICA, PICA, LICA, FIC, TIC, PIC, LIC from the text below:\n\n{text}' }