LLM Context Conditioning and PWP Prompting for Multimodal Validation of Chemical Formulas