@techreport{oai:ipsj.ixsq.nii.ac.jp:00239026, author = {三輪, 樹理音 and 栗, 達 and 熊本, 忠彦 and 河合, 由起子}, issue = {37}, month = {Sep}, note = {本研究では,家計の改善をアドバイスする専門家の文章と家計簿の収支表データから Retrieval-Augmented Generation (RAG) を構築することで,大規模言語モデル(LLM)に基づく資産運用アドバイスの自動生成をより高精度に行うことを目的とする.RAG の構築は,Web 上のファイナンシャルプランナー(FP)への相談記事をスクレイピングし,相談文だけでなく,相談者の性別や家族構成といった基本情報,家計簿の表画像,および FP によるアドバイス文章を取得する.次に,家計簿の表画像から収支表データを抽出し,これら相談内容と表データから Pinecone よりベクトルデータを生成する.構築したベクトルデータベースにより質問の相談内容を拡張し LLM に投入することで,より高精度な資金運用のアドバイスを生成する.本稿では,提案手法により構築した RAG による資金運用アドバイス生成を OpenAI 上に実装し検証することで,RAG による文章と関連する表やグラフに基づく資産運用支援の応用可能性について考察する., This study aims to develop an automated asset management advisory system based on a large language model (LLM) using Retrieval-Augmented Generation (RAG). By leveraging expert advice texts and table data from household balance sheets, we seek to generate financial management advice. To build the RAG, we scrape web-based consultation articles from financial planners (FPs), acquiring not only the consultation text but also basic information such as the consultant's gender and family composition, balance sheet table images, and the FP's advice text. We then extract numerical data from the balance sheet images, convert these texts and table data into vector data using Pinecone, and generate new financial management advice using extended prompts based on these generated vectors and the consultation content. This paper implements and verifies the generation of financial management advice using OpenAI based on the proposed RAG method and discusses the potential applications of RAG in supporting asset management through related texts, tables, and graphs.}, title = {RAGによる資金運用アドバイス生成手法の提案}, year = {2024} }