SEDec 18, 2024
Generative AI Toolkit -- a framework for increasing the quality of LLM-based applications over their whole life cycleJens Kohl, Luisa Gloger, Rui Costa et al.
As LLM-based applications reach millions of customers, ensuring their scalability and continuous quality improvement is critical for success. However, the current workflows for developing, maintaining, and operating (DevOps) these applications are predominantly manual, slow, and based on trial-and-error. With this paper we introduce the Generative AI Toolkit, which automates essential workflows over the whole life cycle of LLM-based applications. The toolkit helps to configure, test, continuously monitor and optimize Generative AI applications such as agents, thus significantly improving quality while shortening release cycles. We showcase the effectiveness of our toolkit on representative use cases, share best practices, and outline future enhancements. Since we are convinced that our Generative AI Toolkit is helpful for other teams, we are open sourcing it on and hope that others will use, forward, adapt and improve
LGApr 2, 2021
Bayesian Structural Learning for an Improved Diagnosis of Cyber-Physical SystemsNicolas Olivain, Philipp Tiefenbacher, Jens Kohl
The diagnosis of cyber-physical systems aims to detect faulty behaviour, its root cause and a mitigation or even prevention policy. Therefore, diagnosis relies on a representation of the system's functional and faulty behaviour combined with observations of the system taken at runtime. The main challenges are the time-intensive building of a model, possible state-explosion while searching for the root cause and interpretability of the results. In this paper we propose a scalable algorithm tackling these challenges. We use a Bayesian network to learn a structured model automatically and optimise the model by a genetic algorithm. Our approach differs from existing work in two aspects: instead of selecting features prior to the analysis we learn a global representation using all available information which is then transformed to a smaller, label-specific one and we focus on interpretability to facilitate repairs. The evaluation shows that our approach is able to learn a model with equal performance to state-of-the-art algorithms while giving better interpretability and having a reduced size.