Overview
I had the opportunity to use LlamaIndex, GPT4, and gradio together, so this is a memo of the process.
Since the text used was small in size, the results are accordingly modest, but I prototyped a chatbot for Shibusawa Eiichi.

Background
I referred to the following article.

自前のチャットボットを「LlamaIndex+GPT4+gradio」で爆速構築してみよう! - Qiita
0. はじめに 本稿は、LLMを使ったチャットボットを作ってみたいけど、、、、どう作ったらいいの?という人向けに、GPT4とGoogle Colabを使って簡単に自前のチャットボットを構築する手順を整理したものです(本格導入に向けたものではありません)。簡単に作れる...
Based on the above, I made modifications to work with libraries as of April 20, 2024. The notebook is published at the following location.
000_tools/LlamaIndex+GPT4+gradio.ipynb at main · nakamura196/000_tools
Google Colaboratory上で実行可能な各種ツールのノートブック集. Contribute to nakamura196/000_tools development by creating an account on GitHub.
The following data was used.
Reconstruction and Utilization of "Shibusawa Eiichi Biographical Materials" Text Data Using TEI
Summary
I hope this serves as a helpful reference.



Comments
…