TorchOpera: A Compound AI System for LLM Safety
<|reference_start|>TorchOpera: A Compound AI System for LLM Safety: We introduce TorchOpera, a compound AI system for enhancing the safety and quality of prompts and responses for Large Language Models. TorchOpera ensures that all user prompts are safe, contextually grounded, and effectively processed, while enhancing LLM responses to be relevant and high quality. TorchOpera utilizes the vector database for contextual grounding, rule-based wrappers for flexible modifications, and specialized mechanisms for detecting and adjusting unsafe or incorrect content. We also provide a view of the compound AI system to reduce the computational cost. Extensive experiments show that TorchOpera ensures the safety, reliability, and applicability of LLMs in real-world settings while maintaining the efficiency of LLM responses.<|reference_end|>
@article{han2024torchopera:,
    title={TorchOpera: A Compound AI System for LLM Safety},
    author={Shanshan Han, Zijian Hu, Alay Dilipbhai Shah, Han Jin, Yuhang Yao,
  Dimitris Stripelis, Zhaozhuo Xu, Chaoyang He},
    journal={arXiv preprint arXiv:2406.10847},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.10847},
    primaryClass={cs.AI cs.CE cs.CL cs.MA}
}