%0 Conference Paper %A Ho, Joe Ee %A Ooi, Boonyaik Yaik %A Westner, Markus K. %D 2024 %F scholars:20421 %I Institute of Electrical and Electronics Engineers Inc. %K Data assimilation; Data integration; Network security; reductions; AI integration; Application integration framework; Data pipeline optimization; Data pipelines; Data processing framework; Error handling; Language model; Pipeline optimization; Token efficiency %P 398 - 403 %R 10.1109/AiDAS63860.2024.10730541 %T Application Integration Framework for Large Language Models %U https://khub.utp.edu.my/scholars/20421/ %X Large Language Models (LLMs) have unlocked new opportunities in processing non-structured information. However, integrating LLM into conventional applications poses challenges due to their non-deterministic nature. This paper introduces a framework designed to effectively integrate LLM into intermediate modules by ensuring more consistent and reliable outputs. The framework includes three key components: the Sieve, which captures and retries processing of incorrect outputs; the Circuit Breaker, which stops processing persistently incorrect outputs; and the Optimizer, which enhances processing efficiency by combining inputs into single prompts. Experimental results employing structured methodology demonstrate the framework's effectiveness, achieving significant improvements a 71.05 reduction in processing time and an 82.97 reduction in token usage while maintaining high accuracy. The proposed framework, agnostic to specific LLM implementations, aids the integration of LLMs into diverse applications, enhancing automation and efficiency in fields such as finance, healthcare, and education. © 2024 IEEE. %Z Cited by: 2