A Large Language Model-Powered Bot for Calligraphy Knowledge Q&A and Appreciation
In the paper, we propose an approach of multimodal RAG (Retrieval-Augmented Generation) on the LLM(Large Language Model) of Qwen-VL to implement a bot for knowledge Q&A(Question and Answer) and appreciation of Chinese brush calligraphy. Firstly, electronic files on calligraphy, which contain a large number of images of brush strokes and texts, are divided into multiple chucks and vectorized, and then stored in a vector library, as knowledge bas. When a calligraphy enthusiasts input an image or some text in the bot dialog for knowledge questioning or art appreciation, the image features are extracted using the CLIP model, and the text is encoded using the word embedding model. Then the proposed method is used to retrieve the appropriate text and images from the knowledge base and pass them to the LLM, which will answer the questions of the enthusiasts in a multimodal way. In terms of system implementation, the paper uses LangChain framework to orchestrate the task flow, and uses Gradio to build a lightweight interactive interface, which supports mixed graphical input and visualized output. The bot developed in the paper is an assistant for calligraphy enthusiasts to learn and appreciate Chinese calligraphy.
Authors
- Liying Chen (ORCID: https://orcid.org/0000-0001-9752-4158)
- Yi Zheng (ORCID: https://orcid.org/0000-0002-5945-4432)
- Jingjing Deng (ORCID: https://orcid.org/0000-0001-9274-651X)
- Zhigang Li (ORCID: https://orcid.org/0000-0002-4156-2275)
- Ying Li (ORCID: https://orcid.org/0000-0002-2316-2841)
- Xinyuan Feng
Institutions
- Beijing University of Posts and Telecommunications (CN)
- Century College (US)
Publication Details
- Published
- 2025-06-28
- DOI
- https://doi.org/10.1109/icipca65645.2025.11138117
- Primary Topic
- AI in Service Interactions
- Type
- article
- Field-Weighted Citation Impact
- 0.00