Artificial Intelligence Master of History
In this EPQ, I built a system that successively enables the large language model to answer questions on the past with evidence from primary sources. This project was motivated by the realization that despite the complexity, the performance of the large language model (LLMs) literally means understanding but simply does pattern recognition, coupled with probabilistic text prediction. Against this backdrop, a specialized AI was developed to help in error correction, given that AI-produced historical data are generally full of errors, by the use of the open-source Langchain-Chatchat that allows integration of LLMs with a structured knowledge database. These contain factual and historical information needed for the AI to compute the accurate answer. The system uses the GLM-4 model by Tsinghua University for the level of GPT-4 and above. This web application is built on Streamlit, an AI-powered system that interacts with the user. The steps through which input queries and historical text were processed by the system include an Unstructured Loader, a Text Splitter, an embedding model, and a Vector Store. Successful implementation of this system not only improved the reliability in AI for historical education but also laid the foundation for further improvement in educational technology and AI interaction models. Future plans will involve further historical database expansion to even more diverse periods and geographies, as well as enhancing the user interface to become more interactive and accessible.
Authors
- Yuming Zou (ORCID: https://orcid.org/0000-0001-7113-4469)
Institutions
- Guangzhou Experimental Station (CN)
Publication Details
- Journal
- International Journal of Computer Science and Information Technology
- Published
- 2024-11-24
- DOI
- https://doi.org/10.62051/ijcsit.v4n3.03
- Primary Topic
- Computational and Text Analysis Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00