JP7692966B2 - Information providing device, information providing method, and information providing program - Google Patents
Information providing device, information providing method, and information providing program Download PDFInfo
- Publication number
- JP7692966B2 JP7692966B2 JP2023150489A JP2023150489A JP7692966B2 JP 7692966 B2 JP7692966 B2 JP 7692966B2 JP 2023150489 A JP2023150489 A JP 2023150489A JP 2023150489 A JP2023150489 A JP 2023150489A JP 7692966 B2 JP7692966 B2 JP 7692966B2
- Authority
- JP
- Japan
- Prior art keywords
- prompt
- level
- sentence
- data analysis
- language model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Machine Translation (AREA)
Description
本発明は、情報提供装置、情報提供方法、及び情報提供プログラムに関する。 The present invention relates to an information providing device, an information providing method, and an information providing program.
近年、いわゆるノーコードのデータ分析ツール(例えばアプリケーション)が提供されることがある(例えば、特許文献1又は非特許文献1を参照)。ノーコードのデータ分析ツールには、プログラミングスキルが不要であり、初学者でも直感的に使用できるという特徴がある。 In recent years, so-called no-code data analysis tools (e.g., applications) have been provided (see, for example, Patent Literature 1 or Non-Patent Literature 1). No-code data analysis tools have the advantage that they do not require programming skills and can be used intuitively even by beginners.
しかしながら、従来のデータ分析ツールは、ユーザにとって使いにくい場合があるという問題がある。 However, traditional data analysis tools can be difficult for users to use.
例えば、ノーコードのデータ分析ツールであっても、使いこなすためには、データ分析の概念及び手法を理解する必要がある。ユーザがツール利用時にデータ分析に関する概念や手法を理解する際、インターネット及び書籍等による調査、又は有識者への質疑応答による調査を行う場合がある。一方で、ユーザが得た調査結果が自身のスキルレベルとマッチしていない場合は、その調査が意味のないものになることがある。 For example, even with no-code data analysis tools, it is necessary to understand the concepts and methods of data analysis in order to use them effectively. When using a tool, users may conduct research to understand concepts and methods related to data analysis using the Internet or books, or through question and answer sessions with experts. However, if the results of the research that the user obtains do not match their own skill level, the research may be meaningless.
特にデータ分析初心者は、自身が行った分析手法等に関する調査の結果が、基礎的な内容なのか、あるいは応用的な内容なのかの区別をつけることが難しい。このため、調査の結果が、本当に自身のスキルレベルとマッチしているかどうかがわからないという問題も容易に起こりうる。 In particular, beginners in data analysis have difficulty distinguishing whether the results of their own research on analytical methods, etc., are basic or applied. For this reason, it is easy to run into the problem of not knowing whether the results of the research really match your own skill level.
また分析ツールの使用方法についても同様で、例えばデータ分析の初学者が上級者向けのツールの設定について教えられても混乱をきたしてしまう。 The same goes for how to use analytical tools; for example, a beginner in data analysis may be confused when taught how to set up tools for advanced users.
上述した課題を解決し、目的を達成するために、情報提供装置は、ユーザのデータ分析に関するレベルを選択するレベル選択部と、データ分析ツールが実行される端末装置から受け取ったリクエスト、及び前記レベル選択部によって選択されたレベルを基に、前記データ分析ツールの使用を支援するための文章であって、前記レベルに応じた文章を言語モデルに生成させるためのプロンプトを生成するプロンプト生成部と、前記プロンプト生成部によって生成されたプロンプトを前記言語モデルに入力することにより、文章を生成する文章生成部と、前記文章生成部によって生成された文章を、前記端末装置に表示させる表示制御部と、を有することを特徴とする。 In order to solve the above-mentioned problems and achieve the objective, the information providing device is characterized by having a level selection unit that selects a level related to data analysis for a user, a prompt generation unit that generates a prompt for causing a language model to generate a sentence corresponding to the level, which is a sentence for supporting the use of the data analysis tool, based on a request received from a terminal device on which the data analysis tool is executed and the level selected by the level selection unit, a sentence generation unit that generates a sentence by inputting the prompt generated by the prompt generation unit into the language model, and a display control unit that displays the sentence generated by the sentence generation unit on the terminal device.
本発明によれば、データ分析ツールの使いやすさを向上させることができる。 The present invention can improve the ease of use of data analysis tools.
以下に、本願に係る情報提供装置、情報提供方法、及び情報提供プログラムの実施形態を図面に基づいて詳細に説明する。なお、本発明は、以下に説明する実施形態により限定されるものではない。 Below, embodiments of the information providing device, information providing method, and information providing program according to the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments described below.
[第1の実施形態]
[第1の実施形態の構成]
図1を用いて、情報提供システムの構成を説明する。図1は、第1の実施形態に係る情報提供システムの構成例を示す図である。図1に示すように、情報提供システム1は、情報提供装置10及び端末装置20を有する。
[First embodiment]
[Configuration of the first embodiment]
The configuration of the information providing system will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the configuration of the information providing system according to the first embodiment. As shown in Fig. 1, the information providing system 1 includes an information providing device 10 and a terminal device 20.
情報提供装置10は、ネットワークを介して端末装置20と接続されたサーバである。端末装置20は、PC(Personal Computer)、タブレット型端末、スマートフォン等である。 The information providing device 10 is a server connected to a terminal device 20 via a network. The terminal device 20 is a personal computer (PC), a tablet terminal, a smartphone, etc.
情報提供装置10は、非特許文献1に記載のNode-AI等のデータ分析ツールの機能を有する。情報提供装置10は、特許文献1に記載された情報処理装置と同等の機能を有していてもよい。例えば、ユーザは、端末装置20を介してデータ分析ツールを実行し、キャンバスデータを生成する。 The information providing device 10 has the functionality of a data analysis tool such as Node-AI described in Non-Patent Document 1. The information providing device 10 may have the same functionality as the information processing device described in Patent Document 1. For example, a user executes a data analysis tool via a terminal device 20 to generate canvas data.
Node-AIでは、ノーコード、すなわちコーディングレスで、データに対する処理のパイプラインを設計できるFlowbased programmingが採用される。また、Node-AIは、処理したいデータと各処理が実行できる関数を繋ぎ合わせることで、直感的にデータに対する処理のパイプラインを記述することができる。本実施形態では、データに対する所定の処理を実行する関数を「カード」と表記する。また、パイプラインが記述されたデータを「キャンバスデータ」と表記する。 Node-AI employs flow-based programming, which allows designing a processing pipeline for data without coding. Node-AI also allows intuitive description of a processing pipeline for data by connecting the data to be processed with the functions that can execute each process. In this embodiment, a function that executes a specific process on data is referred to as a "card." Furthermore, data for which a pipeline is described is referred to as "canvas data."
また、情報提供装置10は、データ分析ツールの機能に加えて、ユーザに自然言語の文章を提供する機能を有する。情報提供装置10は、メッセージを提供することにより、ユーザによるデータ分析ツールの使用を支援する。 In addition to the function of the data analysis tool, the information providing device 10 also has a function of providing natural language sentences to the user. The information providing device 10 supports the user in using the data analysis tool by providing messages.
情報提供装置10は、データ分析ツールに関するユーザの疑問に対する回答、データ分析ツールの使い方のヒント、ユーザに対して推奨する行動、データに関するインサイト、ユーザの誤りの指摘等を文章により提供する。このとき、情報提供装置10は、データ分析に関するユーザのレベルに応じた文章を提供する。 The information providing device 10 provides written answers to the user's questions about the data analysis tool, hints on how to use the data analysis tool, recommended actions for the user, insights into the data, and corrections of the user's errors. At this time, the information providing device 10 provides written text that is appropriate for the user's level of data analysis.
図1に示すように、情報提供装置10は、インタフェース部11、リクエスト処理部12、プロンプト生成部13、履歴DB14、言語モデル群15、文章生成部16及びレベル選択部17を有する。
As shown in FIG. 1, the information providing device 10 has an
インタフェース部11は、端末装置20との間でデータのやり取りを行う。例えば、インタフェース部11は、端末装置20からのリクエストを受け付ける。また、例えば、インタフェース部11は、端末装置20に画面を表示させる。
The
インタフェース部11は、ユーザによって入力された問い合わせのテキスト、又はデータ分析ツールの操作内容を端末装置20からリクエストとして受け付ける。インタフェース部11は、受け付けたリクエストをリクエスト処理部12に受け渡す。
The
リクエスト処理部12は、リクエストがデータ分析ツールの操作内容である場合、リクエストに対する結果を得る。結果は、データ分析ツールが操作内容に対して返すキャンバスデータである。
When the request is an operation of a data analysis tool, the
リクエスト処理部12は、リクエスト及び結果を履歴DB14に保存する。また、リクエスト処理部12は、リクエスト及び結果をプロンプト生成部13及びレベル選択部17に受け渡す。なお、結果が存在しない場合は、リクエスト処理部12は、リクエストを履歴DB14に保存し、また、リクエストをプロンプト生成部13及びレベル選択部17に受け渡す。
The
レベル選択部17は、ユーザのデータ分析に関するレベルを選択する。レベルは、ユーザのデータ分析に関する知識量、データ分析ツールの熟練度等を段階的に表した情報である。ここでは、レベルは上級者、初心者の2段階で表されるものとする。ただし、レベルの段階の数は、3以上であってもよい。 The level selection unit 17 selects the user's level regarding data analysis. The level is information that represents the user's level of knowledge regarding data analysis, proficiency with data analysis tools, etc. in stages. Here, the level is represented in two stages: advanced and beginner. However, the number of levels may be three or more.
レベル選択部17は、ユーザによる入力を基にレベルを選択する。この場合、インタフェース部11は、端末装置20を介して、レベルの入力を受け付ける。
The level selection unit 17 selects a level based on an input from a user. In this case, the
また、レベル選択部17は、自動的にレベルを選択してもよい。例えば、レベル選択部17は、データ分析ツールにおけるユーザの過去の操作内容及び過去の操作内容に応じて生成されたプロセスによるデータ分析の精度を基に、レベルを選択する。 The level selection unit 17 may also automatically select the level. For example, the level selection unit 17 selects the level based on the user's past operation content in the data analysis tool and the accuracy of data analysis by a process generated based on the past operation content.
プロンプト生成部13は、データ分析ツールが実行される端末装置20から受け取ったリクエスト(又はリクエスト及び結果)を基に、データ分析ツールの使用を支援するための文章を言語モデルに生成させるためのプロンプトを生成する。プロンプト生成部13は、生成したプロンプトを文章生成部16に受け渡す。
The
プロンプト生成部13は、データ分析ツールが実行される端末装置から受け取ったリクエスト、及びレベル選択部17によって選択されたレベルを基に、データ分析ツールの使用を支援するための文章であって、レベルに応じた文章を言語モデルに生成させるためのプロンプトを生成する。
The
文章生成部16は、プロンプト生成部13によって生成されたプロンプトを言語モデル群15に含まれる言語モデルに入力することにより、文章を生成する。文章生成部16は、得られた文章を、インタフェース部11を介して端末装置20に出力する。
The
また、図1に示すように、言語モデル群15は上級者向け言語モデル151及び初心者向け言語モデル152を含む。上級者向け言語モデル151は、上級者レベルに対応した言語モデルである。初心者向け言語モデル152は、初心者レベルに対応したモデルである。
As shown in FIG. 1, the
文章生成部16は、複数のレベルのそれぞれに対応した言語モデルのうち、レベル選択部17によって選択されたレベルに対応する言語モデルにプロンプトを入力することにより、文章を生成することができる。入力対象の言語モデルは、プロンプトによって指定されてもよい。
The
上級者向け言語モデル151と初心者向け言語モデル152とでは、同じプロンプトが入力された場合であっても、出力される文章が互いに異なる。
Even when the same prompt is input, the
レベル選択部17は、ロールをさらに選択する。プロンプト生成部13は、ロールに応じた文体の文章を言語モデルに生成させるためのプロンプトを生成する。例えば、文体は、ですます調とである調のいずれであるか、敬語が使われるか否か、感嘆詞が使われるか否か、命令口調であるか否か、等である。
The level selection unit 17 further selects a role. The
ロールは、図2に示すような画面を介してユーザによって選択されてもよい。図2は、画面の例を示す図である。インタフェース部11は、図2のロール選択画面54を端末装置20に表示させる。「教官」、「秘書」、「大学教授」はロールの例である。ユーザは、ロール選択画面54に表示されるロールのいずれかを選択する。選択されたロールは、レベル選択部17によって、プロンプト生成部13に通知される。
The role may be selected by the user via a screen as shown in FIG. 2. FIG. 2 is a diagram showing an example of the screen. The
ここで、言語モデル群15に含まれる言語モデルは、大規模言語モデル(LLM:Large Language Models)である。言語モデルは、ニューラルネットワークであってもよい。また、言語モデルは、例えばChatGPT(登録商標)(参考URL:https://openai.com/blog/chatgpt)である。
Here, the language models included in the
言語モデルは、入力されたプロンプトを基に推論を実行し、推論によって得られた自然言語の文章を出力する。 The language model performs inference based on the input prompt and outputs the natural language sentence obtained through inference.
ここで、データ分析ツールは、ユーザの操作に応じて、機械学習モデルを使ったデータ分析に関する一連のプロセス(パイプライン)を生成する。データ分析を行う機械学習モデルを、分析モデルと呼ぶ。例えば、データ分析ツールは、一連のプロセスを実行する実行ファイルを出力する。 Here, the data analysis tool generates a series of processes (pipeline) for data analysis using a machine learning model in response to user operations. The machine learning model that performs data analysis is called an analysis model. For example, the data analysis tool outputs an executable file that executes a series of processes.
プロセスは、データに対する前処理、データを使った分析モデルの学習(パラメータの更新)、学習済みの分析モデルの評価、の3つに分けることができる。 The process can be divided into three parts: data preprocessing, training an analytical model using the data (updating parameters), and evaluating the trained analytical model.
言語モデルは、3つのプロセスのそれぞれに合わせてチューニングされた言語モデルを含んでいてもよい。例えば、言語モデル群15は、前処理に合わせてチューニングされた言語モデル、学習に合わせてチューニングされた言語モデル、評価に合わせてチューニングされた言語モデルを含む。
The language models may include language models tuned for each of the three processes. For example, the
例えば、前処理に合わせてチューニングされた言語モデルは、学習に用いられるデータに対する前処理を指定する操作内容に基づくプロンプトと、当該操作内容に対するベテランユーザによる文章によるアドバイスを学習する。前処理に合わせてチューニングされた言語モデルは、他の言語モデルに比べて、前処理に関してより適切な文章を生成することができる。 For example, a language model tuned for preprocessing learns prompts based on the operation content that specifies the preprocessing of the data used for training, and written advice from an experienced user for the operation content. A language model tuned for preprocessing can generate sentences that are more appropriate for preprocessing than other language models.
なお、データ分析ツールのプロセスの分け方は前述のものに限られず、さらに細分化されていてもよい。そして、言語モデル群15は、細分化されたプロセスのそれぞれに合わせてチューニングされた言語モデルを含む。例えば、言語モデル群15は、データ分析ツールにおけるカードのそれぞれに合わせてチューニングされた言語モデルを含んでいてもよい。
The division of the processes of the data analysis tool is not limited to the above, and may be further subdivided. The
また、言語モデル群15は、プロセスに細分化され、かつ複数のレベルのそれぞれに対応した言語モデルを含んでいてもよい。例えば、言語モデル群15は、前処理に合わせてチューニングされた初心者レベルの言語モデル、学習に合わせてチューニングされた初心者レベルの言語モデル、評価に合わせてチューニングされた初心者レベルの言語モデル、前処理に合わせてチューニングされた上級者レベルの言語モデル、学習に合わせてチューニングされた上級者レベルの言語モデル、評価に合わせてチューニングされた上級者レベルの言語モデルの6つを含む。
The
文章生成部16は、プロンプトを基に適切な言語モデルを選択し、選択した言語モデルを用いて文章を生成する。例えば、プロンプトに「前処理」というキーワードが含まれていて、かつユーザのレベルが初心者である場合、文章生成部16は、前処理に合わせてチューニングされた初心者レベルの言語モデルを選択する。
The
以下、リクエストがユーザによって入力された問い合わせのテキストである場合と、リクエストがデータ分析ツールの操作内容である場合とに分けて、情報提供装置10の動作を詳細に説明する。 Below, the operation of the information providing device 10 will be described in detail, divided into cases where the request is the text of an inquiry entered by a user and where the request is the operation content of a data analysis tool.
(1.リクエストがユーザによって入力された問い合わせのテキストである場合)
図3に示すように、データ分析ツールの画面(ユーザインタフェース)には、操作内容に応じて作成されたキャンバスデータが表示される。図3は、画面の例を示す図である。画面は、情報提供装置10の制御に応じて、端末装置20によって表示される。
(1. If the request is a query text entered by the user)
As shown in Fig. 3, the screen (user interface) of the data analysis tool displays canvas data created in response to the operation content. Fig. 3 is a diagram showing an example of the screen. The screen is displayed by the terminal device 20 in response to the control of the information providing device 10.
キャンバスデータは、分析モデルを使ったデータ分析に関する一連のプロセス(パイプライン)を表すものである。まず、キャンバスデータには、ユーザの操作によって指定されたデータ及び関数がカードとして配置される。 Canvas data represents a series of processes (pipeline) related to data analysis using an analytical model. First, data and functions specified by user operations are placed as cards on the canvas data.
図3の例では、カード511、カード512及びカード513が配置される。カード511は、分析モデルに入力されるデータを表している。カード512及びカード513は、データに対する前処理を表している。また、領域521及び領域522には、カードに関するコメントが表示される。
In the example of FIG. 3,
チャット画面53は、情報提供装置10によって生成された文章を表示する画面である。チャット画面53は、キャンバスデータを表示する画面に重畳してポップアップとして表示されてもよい。例えば、インタフェース部11が、キャンバスデータ及びチャット画面53を端末装置20に表示させる表示制御部として機能する。
The
ボックス5311には、ユーザによって入力された問い合わせのテキストが表示される。なお、問い合わせのテキストは、入力欄533を介して入力される。アイコン532は、情報提供装置10によって生成された文章をチャットにおける発言として出力する際の、疑似的な発言の主体(ボット)を示す画像である。また、ボックス5312には、情報提供装置10によって生成された文章が表示される。
図3の例では、ユーザは、「lassoとridgeの違いを教えてください」というテキストを入力する。これに対し、情報提供装置10は、「テメー、lassoとridgeの違いを知らねーのか!?ちゃんと勉強してんのか、この貴様は!?まず、lassoはLeast Absolute Shrinkage and Selection Operatorの略称で、係数を0に近づけることで特徴量の選択を行う正則化手法だ。一方、ridgeはL2正則化を用いて過学習を防止する手法だ。つまり、lassoは特定の特徴量を取り除きたい場合に使い、ridgeはモデル全体を安定化させたい場合に適している。理解できたか、このバカ野郎!?」という文章を生成し、出力する。 In the example of FIG. 3, the user inputs the text "Please tell me the difference between lasso and ridge." In response, the information providing device 10 generates and outputs the following sentence: "You don't know the difference between lasso and ridge? Have you studied it properly, you idiot? First of all, lasso is an abbreviation for Least Absolute Shrinkage and Selection Operator, and is a regularization method that selects features by moving coefficients closer to 0. On the other hand, ridge is a method that prevents overfitting by using L2 regularization. In other words, lasso is used when you want to remove specific features, and ridge is suitable when you want to stabilize the entire model. Do you get it, you idiot?"
プロンプト生成部13は、データ分析ツールを使用するユーザによって、端末装置20を介して入力されたテキストをリクエストとして受け取る。プロンプト生成部13は、ユーザが入力したテキストを基に、プロンプトを生成する。プロンプト生成部13は、以下の要素を含むプロンプトを生成する。
(1)命令:言語モデルに実行してほしい特定のタスク又は命令
(2)文脈:モデルをより良い応答に導くための外部情報又は追加の文脈
(3)入力データ:リクエスト
(4)出力指示子:出力のタイプ又は形式
The
(1) Instructions: the specific task or command you want the language model to perform; (2) Context: external information or additional context to guide the model to a better response; (3) Input data: the request; (4) Output indicator: the type or format of the output.
図3の例では、リクエストはユーザによって入力されたテキストである。例えば、リクエスト処理部12は、チャット画面53の入力欄533にテキストが入力された場合に、リクエストがユーザによって入力されたテキストであると判定し、判定結果をプロンプト生成部13に通知する。
In the example of FIG. 3, the request is text entered by the user. For example, when text is entered in the
リクエストがユーザによって入力されたテキストである場合、プロンプト生成部13は、要素(1)を、「ユーザに回答するための文章の生成」と設定する。プロンプト生成部13は、チャット画面53に表示されているユーザ側の発言(例えば、ボックス5311のテキスト)がリクエストと一致する場合、リクエストがユーザによって入力されたテキストであると判定してもよい。
If the request is text entered by the user, the
また、プロンプト生成部13は、以下の手順により要素(2)を決定する。まず、プロンプト生成部13は、ユーザによって入力されたテキストから、あらかじめ定められたデータ分析に関する用語を抽出する。「lasso」と「ridge」はあらかじめ定められたデータ分析に関する用語であるものとする。そして、プロンプト生成部13は、「lasso」と「ridge」がデータ分析に関する用語であることを外部情報又は追加の文脈として要素(2)に追加する。
The
これにより、例えば、言語モデルが「lasso」と「ridge」の単なる文字列としての違いを回答する文章を生成したり、辞書に掲載されている意味の違いを説明する文章を生成したりすることを回避し、言語モデルがデータ分析における違いを説明する文章を生成することを促すことができる。つまり、要素(2)により、ユーザが必要としている情報が提供されやすくなる。 This, for example, prevents the language model from generating sentences that simply answer the difference between "lasso" and "ridge" as character strings, or from generating sentences that explain the difference in meaning as listed in a dictionary, and encourages the language model to generate sentences that explain the difference in data analysis. In other words, element (2) makes it easier to provide the information that users need.
要素(3)は、ユーザが入力したテキストそのものである。ただし、プロンプト生成部13は、明らかな誤記(スペルミス、誤字脱字等)を修正した上で、テキストを要素(3)に設定してもよい。
Element (3) is the text entered by the user. However, the
また、プロンプト生成部13は、要素(4)を「自然言語の文章」のように設定する。また、プロンプト生成部13は、要素(4)を「英語の文章」、「日本語の文章」のように言語を含めて設定してもよい。例えば、プロンプト生成部13は、データ分析ツール事態に設定済みの言語、又はチャット画面53に既に表示されているテキストの言語と同じ言語の文章となるように、要素(4)を設定する。
The
図3の例では、プロンプト生成部13は、例えば下記のようにプロンプトを生成する。
(1)命令:ユーザに回答するための文章の生成
(2)文脈:「lasso」と「ridge」はデータ分析用語
(3)入力データ:「lassoとridgeの違いを教えてください」
(4)出力指示子:日本語の文章
In the example of FIG. 3, the
(1) Command: Generate a sentence to respond to the user. (2) Context: "lasso" and "ridge" are data analysis terms. (3) Input data: "What is the difference between lasso and ridge?"
(4) Output indicator: Japanese text
ここで説明したように、リクエストがユーザによって入力された問い合わせのテキストである場合は、情報提供装置10は、レベルを考慮することなく文章を生成してもよい。 As described herein, if the request is a query text entered by a user, the information providing device 10 may generate the sentence without considering the level.
(2.リクエストがデータ分析ツールの操作内容である場合)
図4を用いて、リクエストがデータ分析ツールの操作内容である場合の例を説明する。図4は、画面の例を示す図である。図4の画面にはキャンバスデータが示されている。
(2. When the request is for the operation of a data analysis tool)
An example of a case where a request is an operation for a data analysis tool will be described with reference to Fig. 4. Fig. 4 is a diagram showing an example of a screen. Canvas data is displayed on the screen of Fig. 4.
図4の例では、カード514が配置される。カード514は、分析モデルが「線形モデル」であることを表している。分析モデルは、データを分析するためのアルゴリズムと言い換えられてもよい。
In the example of FIG. 4,
チャット画面53のボックス5313及びボックス5314には、情報提供装置10によって生成された文章が表示される。図4の例では、ユーザの操作内容及び選択されたレベルに応じて、情報提供装置10が文章を生成し、生成した文章を出力している。
レベル選択部17は、レベルを選択する。例えば、ユーザによって指定されたレベルを選択する。例えば、レベルは、上級者及び初心者のいずれかである。 The level selection unit 17 selects a level. For example, it selects a level specified by the user. For example, the level is either advanced or beginner.
プロンプト生成部13は、データ分析ツールに対する操作内容をリクエストとして受け取る。例えば、プロンプト生成部13は、「分析モデルが線形モデルであることを指定」という操作内容(リクエスト)に応じて、プロンプトを生成する。プロンプトに含まれる要素は、前述の通りである。
The
リクエストがユーザの操作内容である場合、プロンプト生成部13は、要素(1)を、「操作内容に応じたアドバイスの文章の生成」と設定する。プロンプト生成部13は、チャット画面53に表示されているユーザ側の発言(例えば、ボックス5311のテキスト)がリクエストと一致しない場合、リクエストがユーザの操作内容であると判定してもよい。
When the request is the user's operation content, the
また、プロンプト生成部13は、以下の手順により要素(2)を決定する。まず、プロンプト生成部13は、対象の操作内容の前に所定の操作内容が行われているか否かを判定する。例えば、プロンプト生成部13は、リクエストの操作内容が分析モデルの指定である場合、前処理が既に指定されているか否かを判定する。プロンプト生成部13は、この判定結果を要素(2)として決定する。また、要素(3)は、操作内容そのものである。
The
また、プロンプト生成部13は、要素(4)を「自然言語の文章」のように設定する。また、プロンプト生成部13は、要素(4)を「英語の文章」、「日本語の文章」のように言語を含めて設定してもよい。
The
また、プロンプト生成部13は、要素(4)に、レベル選択部17によって選択されたレベルを追加する。ここでは、レベル選択部17は、レベルとして「初心者」を選択したものとする。
The
図4の例では、プロンプト生成部13は、例えば下記のようにプロンプトを生成する。
(1)命令:操作内容に応じたアドバイスの文章の生成
(2)文脈:前処理未指定
(3)入力データ:分析モデルに「線形モデル」を指定
(4)出力指示子:日本語の文章、レベル:初心者
In the example of FIG. 4, the
(1) Command: Generate advice sentences according to the operation content (2) Context: Preprocessing not specified (3) Input data: Specify "linear model" as the analysis model (4) Output indicator: Japanese sentence, Level: Beginner
このように、プロンプト生成部13は、データ分析に関する一連のプロセスを生成するデータ分析ツールにおいて、データを分析するためのアルゴリズムを指定する操作内容をリクエストとして受け取り、操作内容に応じたアドバイスの文章を生成することを命令するプロンプトを生成する。また、文章生成部16は、プロンプトを言語モデルに入力し、操作内容の後に行うべき操作(例えば、前処理の指定)を示す文章であって、レベルに応じた文章を生成する。また、文章の文体は、選択済みのロールに応じて変化する。
In this way, the
なお、言語モデル群15に含まれる言語モデルが1つである場合、文章生成部16は、要素(4)で指定されたレベル(例:「レベル:初心者」)をプロンプトの一部としてそのまま言語モデルに入力することができる。
When the
一方、図1のように、言語モデル群15に上級者向け言語モデル151と初心者向け言語モデル152が含まれている場合、要素(4)で指定されたレベルに応じて、プロンプトを入力する言語モデルを決定してもよい。
On the other hand, as shown in FIG. 1, when the
ここで、レベルが「上級者」である場合に言語モデルによって生成される文章(以下、上級者向け文章)と、レベルが「初心者」である場合に言語モデルによって生成される文章(以下、初審者向け文章)との違いを説明する。ここで説明する違いは、言語モデルによる推論処理によって生じる。 Here, we will explain the difference between sentences generated by the language model when the level is "advanced" (hereinafter, "sentences for advanced learners") and sentences generated by the language model when the level is "beginner" (hereinafter, "sentences for beginners"). The difference explained here arises from the inference process performed by the language model.
例えば、上級者向け文章は、初心者向け文章に比べて示される情報が少ない。例えば、図4のボックス5313に示す文章は初心者向け文章であるものとする。図4の場合のプロンプトにおける要素(4)の「レベル:初心者」を「レベル:上級者」に置き換えられたプロンプトが言語モデルに入力された場合、ボックス5313に示す文章から「そして、次にやるべきことは前処理だ。」の部分が省略された文章が生成される。
For example, a sentence for advanced learners contains less information than a sentence for beginners. For example, the sentence shown in
上級者向け文章は、初心者向け文章に比べて難易度が高い文章ということができる。つまり、レベルによって文章の難易度が決定される。 Texts for advanced learners can be said to be more difficult than texts for beginners. In other words, the level determines the difficulty of the text.
また、例えば、初心者向け文章は、上級者向け文章と比べて、ユーザの感情をより強く動かす傾向がある。 Also, for example, texts aimed at beginners tend to evoke stronger emotions in users than texts aimed at advanced users.
例えば、プロンプト生成部13は、レベル選択部17によって選択されたレベルが低いほど、ユーザの感情を強く動かすような文章を言語モデルに生成させるためのプロンプトを生成する。例えば、プロンプト生成部13は、プロンプトの要素(4)に、「レベル:初心者」とともに、「感情的に」という文言を追加する。
For example, the
例えば、言語モデルは、感嘆詞を使うこと、ユーザの操作内容に対する操作を大げさに表現すること等によりユーザの感情を強く動かす文章を生成する。例えば、ある前処理を指定した操作を褒める場合、上級者向け文章では「その前処理は良いと思います」のように淡々とした印象の文が追加され、初心者向け文章では「その前処理は大変良いと思います!」のように大げさな印象の文が追加される。 For example, the language model generates sentences that strongly affect the user's emotions by using exclamations and exaggerating the user's operations. For example, when praising an operation that specifies a certain preprocessing, a sentence with a more matter-of-fact impression such as "I think that preprocessing is good" is added to sentences for advanced users, while a sentence with an exaggerated impression such as "I think that preprocessing is very good!" is added to sentences for beginners.
レベル選択部17は、リクエスト処理部12から取得したリクエスト及び結果、及び履歴DB14から取得した過去のリクエスト及び結果の少なくともいずれかを用いて自動的にレベルを選択してもよい。
The level selection unit 17 may automatically select a level using at least one of the requests and results obtained from the
操作内容は、例えば指定された分析モデル(線形モデル、Lasso、Ridge等)、前処理、設定したパラメータ等である。また、結果は、例えば処理実行成否、精度指標(例えば、線形モデルのRMSE(Root Mean Squared Error))等である。なお、操作内容及び結果は、キャンバスデータとして表現される。 The operation contents are, for example, a specified analysis model (linear model, Lasso, Ridge, etc.), preprocessing, set parameters, etc. Furthermore, the results are, for example, whether the processing was successful or not, an accuracy index (for example, RMSE (Root Mean Squared Error) of a linear model), etc. Furthermore, the operation contents and results are expressed as canvas data.
例えば、レベル選択部17は、リクエスト処理部12から取得した結果に示される精度指標が閾値以上であれば、上級者レベルを選択し、精度指標が閾値未満であれば初心者レベルを選択する。
For example, if the accuracy index shown in the result obtained from the
また、レベル選択部17は、履歴DB14から取得したユーザの過去の所定の件数(例えば、10件)のキャンバスデータから、処理実行時の成功率、精度指標の平均値等を計算し、計算結果を基にレベルを選択してもよい。
The level selection unit 17 may also calculate the success rate and average accuracy index when the process is executed from a predetermined number of past canvas data (e.g., 10 cases) of the user obtained from the
また、プロンプト生成部13は、履歴DB14から取得した過去のリクエスト及び結果を参照してプロンプトを生成してもよい。例えば、プロンプト生成部13は、過去に分析モデルに「線形モデル」が指定された際のキャンバスデータであって、最終的な学習済みの分析モデルの精度の評価値を示すキャンバスデータの中から、最も評価値が高いキャンバスデータを選択する。そして、プロンプト生成部13は、選択したキャンバスデータにおいて指定されている前処理を推薦するような文章を生成することを促すようなプロンプトを生成する。
The
さらに、履歴DB14には、分析対象のデータ内容が保存されていてもよい。例えば、リクエスト処理部12は、リクエスト及び結果とともに、分析対象のデータを履歴DB14に保存する。履歴DB14には、例えばCSV形式又はテーブル形式等の所定の形式のデータがそのまま保存されてもよいし、データの一部が保存されてもよいし、データから算出された統計量が保存されてもよい。
Furthermore, the
プロンプト生成部13は、履歴DB14から取得した過去のリクエスト及び結果だけでなく、履歴DB14から取得した過去の分析対象のデータを参照してプロンプトを生成することができる。これにより、例えば、プロンプト生成部13は、分析対象のデータを、推薦度の高い前処理を判断するための材料にすることができる。例えば、プロンプト生成部13は、リクエスト処理部12によって取得された分析対象のデータの特徴と、過去に前処理として「外れ値補間」がされた分析対象のデータとの特徴が類似する場合、前処理として「外れ値補間」を薦めるような文章が生成されやすくなるようにプロンプトを生成する。なお、データの特徴は分散、平均等の統計量であってもよい。
The
例えば、プロンプト生成部13は、下記のように、プロンプトの要素(2)に、選択したキャンバスデータにおいて指定されている前処理の推薦度が高いことを記載しておく。
(2)文脈:前処理未指定(ただし、履歴及び分析対象のデータ内容から「外れ値補間」を推薦)
For example, the
(2) Context: Preprocessing not specified (however, "outlier interpolation" is recommended based on the history and data content of the analysis target)
この場合、例えば、ボックス5313に示す文章に「おすすめの前処理は外れ値補間だ。」という一文が追加された文章が言語モデル群15によって生成される。
In this case, for example, a sentence in which the sentence "The recommended preprocessing is outlier interpolation" is added to the sentence shown in
(変形例)
図5は、第1の実施形態に係る情報提供システムの変形例を示す図である。図5に示す情報提供システム1aの情報提供装置10aは、レベル選択モデル18を有する点が情報提供装置10と異なる。
(Modification)
5 is a diagram showing a modification of the information providing system according to the first embodiment. An information providing device 10a of the
レベル選択部17は、レベル選択モデル18を用いてレベルを選択する。レベル選択モデル18は、学習済みの機械学習モデルであって、入力された操作内容及び結果を基に、分類又は回帰問題としてレベルを推定し出力する。
The level selection unit 17 selects a level using the
[第1の実施形態の処理の流れ]
図6を用いて、情報提供装置10の処理の流れを説明する。図6は、第1の実施形態に係る情報提供システムの処理の流れを示すフローチャートである。
[Processing flow of the first embodiment]
The flow of processing in the information providing device 10 will be described with reference to Fig. 6. Fig. 6 is a flowchart showing the flow of processing in the information providing system according to the first embodiment.
まず、リクエスト処理部12は、操作内容又は問い合わせ内容を、インタフェース部11を介してリクエストとして受け付ける(ステップS101)。次に、リクエスト処理部12は、リクエスト内容と結果を履歴DB14に保存する(ステップS102)。
First, the
ここで、プロンプト生成部13は、過去のリクエスト内容と結果を履歴DBから取得する(ステップS103)。
Here, the
レベル選択部17は、リクエスト内容と結果を基にレベルを選択する(ステップS104)。レベル選択部17は、ユーザの入力を基にレベルを選択してもよい。 The level selection unit 17 selects a level based on the request content and the result (step S104). The level selection unit 17 may select a level based on user input.
続いて、プロンプト生成部13は、選択したレベルに応じて、リクエスト内容と結果を基にプロンプトを生成する(ステップS105)。
Next, the
そして、文章生成部16は、プロンプトを言語モデル群15に含まれる言語モデル(大規模言語モデル)に入力し、文章を生成する(ステップS106)。文章生成部16は、生成した文章を、インタフェース部11を介して出力する(ステップS107)。
Then, the
[第1の実施形態の効果]
これまで説明してきたように、レベル選択部17は、ユーザのデータ分析に関するレベルを選択する。プロンプト生成部13は、データ分析ツールが実行される端末装置から受け取ったリクエスト、及びレベル選択部17によって選択されたレベルを基に、データ分析ツールの使用を支援するための文章であって、レベルに応じた文章を言語モデルに生成させるためのプロンプトを生成する。文章生成部16は、プロンプト生成部13によって生成されたプロンプトを言語モデルに入力することにより、文章を生成する。インタフェース部11は、文章生成部16によって生成された文章を、端末装置に表示させる。
[Effects of the First Embodiment]
As described above, the level selection unit 17 selects the user's level regarding data analysis. The
これにより、ユーザは、データ分析に関する自身のレベルに応じた文章により、データ分析ツールの使用に関する知識を得ることができる。その結果、データ分析ツールの使いやすさが向上する。 This allows users to gain knowledge about how to use data analysis tools through texts that correspond to their own level of data analysis, thereby improving the ease of use of data analysis tools.
文章生成部16は、複数のレベルのそれぞれに対応した言語モデルのうち、レベル選択部17によって選択されたレベルに対応する言語モデルにプロンプトを入力することにより、文章を生成する。
The
レベル選択部17は、ロールをさらに選択する。プロンプト生成部13は、ロールに応じた文体の文章を言語モデルに生成させるためのプロンプトを生成する。これにより、ユーザの好みに応じて、提供される文章の文体を変化させることができる。
The level selection unit 17 further selects a role. The
プロンプト生成部13は、レベル選択部17によって選択されたレベルが低いほど、ユーザの感情を強く動かすような文章を言語モデルに生成させるためのプロンプトを生成する。これにより、初心者のユーザのモチベーションを高めることができる。
The lower the level selected by the level selection unit 17, the more the
レベル選択部17は、データ分析ツールにおけるユーザの過去の操作内容及び過去の操作内容に応じて生成されたプロセスによるデータ分析の精度を基に、レベルを選択する。これにより、よりユーザに適したレベルを選択することができる。 The level selection unit 17 selects a level based on the user's past operations in the data analysis tool and the accuracy of data analysis by a process generated based on the past operations. This makes it possible to select a level that is more suitable for the user.
[システム構成等]
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示のように構成されていることを要しない。すなわち、各装置の分散及び統合の具体的形態は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況等に応じて、任意の単位で機能的又は物理的に分散又は統合して構成することができる。さらに、各装置にて行われる各処理機能は、その全部又は任意の一部が、CPU及び当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。なお、プログラムは、CPUだけでなく、GPU等の他のプロセッサによって実行されてもよい。
[System configuration, etc.]
In addition, each component of each device shown in the figure is functionally conceptual, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or a part of it can be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc. Furthermore, each processing function performed by each device can be realized in whole or in any part by a CPU and a program analyzed and executed by the CPU, or can be realized as hardware by wired logic. Note that the program may be executed not only by the CPU but also by other processors such as a GPU.
また、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部又は一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部又は一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。 Furthermore, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically using known methods. In addition, the information including the processing procedures, control procedures, specific names, various data, and parameters shown in the above documents and drawings can be changed as desired unless otherwise specified.
[プログラム]
一実施形態として、情報提供装置10は、パッケージソフトウェアやオンラインソフトウェアとして上記の情報処理を実行する情報提供プログラムを所望のコンピュータにインストールさせることによって実装できる。例えば、上記の情報提供プログラムを情報処理装置に実行させることにより、情報処理装置を情報提供装置10として機能させることができる。ここで言う情報処理装置には、デスクトップ型又はノート型のパーソナルコンピュータが含まれる。また、その他にも、情報処理装置には、タブレット型端末、スマートフォン、携帯電話機やPHS(Personal Handy-phone System)等の移動体通信端末、さらには、PDA(Personal Digital Assistant)等のスレート端末等がその範疇に含まれる。
[program]
In one embodiment, the information providing device 10 can be implemented by installing an information providing program that executes the above information processing as package software or online software on a desired computer. For example, the information providing program can be executed by an information processing device to function as the information providing device 10. The information processing device here includes desktop or notebook personal computers. In addition, the information processing device also includes mobile communication terminals such as tablet terminals, smartphones, mobile phones and PHS (Personal Handy-phone Systems), and slate terminals such as PDAs (Personal Digital Assistants).
また、情報提供装置10は、ユーザが使用する端末装置20をクライアントとし、当該クライアントに上記の情報処理に関するサービスを提供するサーバとして実装することもできる。例えば、サーバは、リクエストを入力とし、文章を出力とする情報処理サービスを提供するサーバ装置として実装される。この場合、サーバは、Webサーバとして実装することとしてもよいし、アウトソーシングによって上記の情報処理に関するサービスを提供するクラウドとして実装することとしてもかまわない。 The information providing device 10 can also be implemented as a server that provides the above-mentioned information processing services to a client, the terminal device 20 used by the user. For example, the server is implemented as a server device that provides an information processing service that takes a request as input and outputs text. In this case, the server may be implemented as a web server, or as a cloud that provides the above-mentioned information processing services by outsourcing.
図7は、情報提供プログラムを実行するコンピュータの構成例を示す図である。コンピュータ1000は、例えば、メモリ1010、CPU1020を有する。また、コンピュータ1000は、ハードディスクドライブインタフェース1030、ディスクドライブインタフェース1040、シリアルポートインタフェース1050、ビデオアダプタ1060、ネットワークインタフェース1070を有する。これらの各部は、バス1080によって接続される。
Figure 7 is a diagram showing an example of the configuration of a computer that executes an information provision program. The
メモリ1010は、ROM(Read Only Memory)1011及びRAM(Random Access Memory)1012を含む。ROM1011は、例えば、BIOS(Basic Input Output System)等のブートプログラムを記憶する。ハードディスクドライブインタフェース1030は、ハードディスクドライブ1090に接続される。ディスクドライブインタフェース1040は、ディスクドライブ1100に接続される。例えば磁気ディスクや光ディスク等の着脱可能な記憶媒体が、ディスクドライブ1100に挿入される。シリアルポートインタフェース1050は、例えばマウス1110、キーボード1120に接続される。ビデオアダプタ1060は、例えばディスプレイ1130に接続される。
The memory 1010 includes a read only memory (ROM) 1011 and a random access memory (RAM) 1012. The ROM 1011 stores a boot program such as a basic input output system (BIOS). The hard
ハードディスクドライブ1090は、例えば、OS(Operating System)1091、アプリケーションプログラム1092、プログラムモジュール1093、プログラムデータ1094を記憶する。すなわち、情報提供装置10の各処理を規定するプログラムは、コンピュータにより実行可能なコードが記述されたプログラムモジュール1093として実装される。プログラムモジュール1093は、例えばハードディスクドライブ1090に記憶される。例えば、情報提供装置10における機能構成と同様の処理を実行するためのプログラムモジュール1093が、ハードディスクドライブ1090に記憶される。なお、ハードディスクドライブ1090は、SSD(Solid State Drive)により代替されてもよい。
The hard disk drive 1090 stores, for example, an OS (Operating System) 1091, an
また、上述した実施形態の処理で用いられる設定データは、プログラムデータ1094として、例えばメモリ1010やハードディスクドライブ1090に記憶される。そして、CPU1020は、メモリ1010やハードディスクドライブ1090に記憶されたプログラムモジュール1093やプログラムデータ1094を必要に応じてRAM1012に読み出して、上述した実施形態の処理を実行する。
The setting data used in the processing of the above-described embodiment is stored as
なお、プログラムモジュール1093やプログラムデータ1094は、ハードディスクドライブ1090に記憶される場合に限らず、例えば着脱可能な記憶媒体に記憶され、ディスクドライブ1100等を介してCPU1020によって読み出されてもよい。あるいは、プログラムモジュール1093及びプログラムデータ1094は、ネットワーク(LAN(Local Area Network)、WAN(Wide Area Network)等)を介して接続された他のコンピュータに記憶されてもよい。そして、プログラムモジュール1093及びプログラムデータ1094は、他のコンピュータから、ネットワークインタフェース1070を介してCPU1020によって読み出されてもよい。
The
1 情報提供システム
10 情報提供装置
11 インタフェース部
12 リクエスト処理部
13 プロンプト生成部
14 履歴DB
15 言語モデル群
16 文章生成部
53 チャット画面
511、512、513、514 カード
521、522 領域
532 アイコン
533 入力欄
5311、5312、5313、5314 ボックス
REFERENCE SIGNS LIST 1 Information providing system 10
15
Claims (6)
データ分析に関する一連のプロセスを生成するデータ分析ツールが実行される端末装置から受け取ったリクエストであって、データを分析するためのアルゴリズムを指定する操作内容であるリクエスト、及び前記レベル選択部によって選択されたレベルを基に、前記操作内容の後に行うべき操作を示す文章であって、前記レベルに応じた文章を言語モデルに生成させるためのプロンプトを生成するプロンプト生成部と、
前記プロンプト生成部によって生成されたプロンプトを前記言語モデルに入力することにより、文章を生成する文章生成部と、
前記文章生成部によって生成された文章を、前記端末装置に表示させる表示制御部と、
を有し、
前記レベル選択部は、前記データ分析ツールにおける前記ユーザが過去に指定した前記操作内容、及び前記操作内容に応じて生成されたプロセスによるデータ分析の処理実行成否、及び精度指標を基に、レベルを選択することを特徴とする情報提供装置。 a level selection unit for selecting a level of data analysis by a user;
a prompt generating unit that generates a prompt for causing a language model to generate a sentence according to the level selected by the level selecting unit, the prompt being a request received from a terminal device on which a data analysis tool that generates a series of processes related to data analysis is executed, the request being an operation content that specifies an algorithm for analyzing data, and a sentence indicating an operation to be performed after the operation content, based on the level selected by the level selecting unit; and
a sentence generation unit that generates a sentence by inputting the prompt generated by the prompt generation unit to the language model;
a display control unit that displays the sentence generated by the sentence generation unit on the terminal device;
having
The information providing device is characterized in that the level selection unit selects a level based on the operation content previously specified by the user in the data analysis tool, the success or failure of data analysis processing by a process generated in accordance with the operation content, and an accuracy index .
ことを特徴とする請求項1に記載の情報提供装置。 2. The information providing device according to claim 1, wherein the sentence generating unit generates a sentence by inputting the prompt into a language model corresponding to a level selected by the level selecting unit, among language models corresponding to each of a plurality of levels.
前記プロンプト生成部は、前記ロールに応じた文体の文章を前記言語モデルに生成させるためのプロンプトを生成する
ことを特徴とする請求項1に記載の情報提供装置。 The level selection unit further selects a role;
The information providing device according to claim 1 , wherein the prompt generating unit generates a prompt for causing the language model to generate a sentence in a writing style corresponding to the role.
ことを特徴とする請求項1に記載の情報提供装置。 2. The information providing device according to claim 1, wherein the prompt generating unit generates a prompt for causing the language model to generate a sentence that more strongly stirs the user's emotions as the level selected by the level selecting unit becomes lower.
ユーザのデータ分析に関するレベルを選択するレベル選択工程と、
データ分析に関する一連のプロセスを生成するデータ分析ツールが実行される端末装置から受け取ったリクエストであって、データを分析するためのアルゴリズムを指定する操作内容であるリクエスト、及び前記レベル選択工程によって選択されたレベルを基に、前記操作内容の後に行うべき操作を示す文章であって、前記レベルに応じた文章を言語モデルに生成させるためのプロンプトを生成するプロンプト生成工程と、
前記プロンプト生成工程によって生成されたプロンプトを前記言語モデルに入力することにより、文章を生成する文章生成工程と、
前記文章生成工程によって生成された文章を、前記端末装置に表示させる表示制御工程と、
を含み、
前記レベル選択工程は、前記データ分析ツールにおける前記ユーザが過去に指定した前記操作内容、及び前記操作内容に応じて生成されたプロセスによるデータ分析の処理実行成否、及び精度指標を基に、レベルを選択する
ことを特徴とする情報提供方法。 1. A computer-implemented method for providing information, comprising:
a level selection step of selecting a level for the user's data analysis;
a prompt generating step of generating a prompt for causing a language model to generate a sentence according to the level selected by the level selection step, the prompt being a request received from a terminal device on which a data analysis tool for generating a series of processes related to data analysis is executed, the request being an operation content specifying an algorithm for analyzing data, and a sentence indicating an operation to be performed after the operation content , based on the level selected by the level selection step;
a sentence generating step of generating a sentence by inputting the prompt generated by the prompt generating step into the language model;
a display control step of displaying the sentence generated by the sentence generating step on the terminal device;
Including,
The level selection step selects a level based on the operation content previously specified by the user in the data analysis tool, whether or not a data analysis process is executed by a process generated according to the operation content, and an accuracy index.
13. An information providing method comprising:
データ分析に関する一連のプロセスを生成するデータ分析ツールが実行される端末装置から受け取ったリクエストであって、データを分析するためのアルゴリズムを指定する操作内容であるリクエスト、及び前記レベル選択ステップによって選択されたレベルを基に、前記操作内容の後に行うべき操作を示す文章であって、前記レベルに応じた文章を言語モデルに生成させるためのプロンプトを生成するプロンプト生成ステップと、
前記プロンプト生成ステップによって生成されたプロンプトを前記言語モデルに入力することにより、文章を生成する文章生成ステップと、
前記文章生成ステップによって生成された文章を、前記端末装置に表示させる表示制御ステップと、
をコンピュータに実行させ、
前記レベル選択ステップは、前記データ分析ツールにおける前記ユーザが過去に指定した前記操作内容、及び前記操作内容に応じて生成されたプロセスによるデータ分析の処理実行成否、及び精度指標を基に、レベルを選択する
ことを特徴とする情報提供プログラム。 A level selection step of selecting a level for the user's data analysis;
a prompt generating step of generating a prompt for causing a language model to generate a sentence according to the level selected by the level selection step, the prompt being a request received from a terminal device on which a data analysis tool for generating a series of processes related to data analysis is executed, the request being an operation content specifying an algorithm for analyzing data, and a sentence indicating an operation to be performed after the operation content , based on the level selected by the level selection step;
a sentence generation step of generating a sentence by inputting the prompt generated by the prompt generation step into the language model;
a display control step of displaying the sentence generated by the sentence generating step on the terminal device;
on the computer ,
The level selection step selects a level based on the operation content previously specified by the user in the data analysis tool, whether or not data analysis processing is executed by a process generated according to the operation content, and an accuracy index.
23. An information providing program comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023150489A JP7692966B2 (en) | 2023-09-15 | 2023-09-15 | Information providing device, information providing method, and information providing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023150489A JP7692966B2 (en) | 2023-09-15 | 2023-09-15 | Information providing device, information providing method, and information providing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2025043150A JP2025043150A (en) | 2025-03-28 |
| JP7692966B2 true JP7692966B2 (en) | 2025-06-16 |
Family
ID=95125202
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023150489A Active JP7692966B2 (en) | 2023-09-15 | 2023-09-15 | Information providing device, information providing method, and information providing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7692966B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021024594A1 (en) | 2019-08-06 | 2021-02-11 | ソニー株式会社 | Information processing device, information processing method, and program |
| US20220087644A1 (en) | 2020-09-24 | 2022-03-24 | GE Precision Healthcare LLC | Systems and methods for an adaptive interface for an ultrasound imaging system |
| JP2022169932A (en) | 2021-04-28 | 2022-11-10 | 日本電気株式会社 | Input operation support device, input operation support system, input operation support method, and input operation support program |
| JP2022180282A (en) | 2021-05-24 | 2022-12-06 | ネイバー コーポレーション | Persona chatbot control method and system |
| JP2023079562A (en) | 2021-11-29 | 2023-06-08 | 株式会社リコー | Information processing method, program, information processing device, information processing system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08137698A (en) * | 1994-11-08 | 1996-05-31 | Canon Inc | Execution control system and method thereof |
| JP7313757B1 (en) * | 2023-05-11 | 2023-07-25 | Spiral.AI株式会社 | Text generation device and text generation method |
-
2023
- 2023-09-15 JP JP2023150489A patent/JP7692966B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021024594A1 (en) | 2019-08-06 | 2021-02-11 | ソニー株式会社 | Information processing device, information processing method, and program |
| US20220087644A1 (en) | 2020-09-24 | 2022-03-24 | GE Precision Healthcare LLC | Systems and methods for an adaptive interface for an ultrasound imaging system |
| JP2022169932A (en) | 2021-04-28 | 2022-11-10 | 日本電気株式会社 | Input operation support device, input operation support system, input operation support method, and input operation support program |
| JP2022180282A (en) | 2021-05-24 | 2022-12-06 | ネイバー コーポレーション | Persona chatbot control method and system |
| JP2023079562A (en) | 2021-11-29 | 2023-06-08 | 株式会社リコー | Information processing method, program, information processing device, information processing system |
Non-Patent Citations (3)
| Title |
|---|
| ChatGPT&最新AI活用術 実践編 面接やクイズも!会話能力をフル活用,日経PC21,日本,日経BP,2023年07月24日,第28巻 第9号,pp. 35-37 |
| たてばやし 淳,話題のチャットAIはビジネスでこう使え! ChatGPT×Excel実践活用術,日経PC21 ,日本,日経BP,2023年06月24日,第28巻 第8号 ,pp. 51-67 |
| 高木 騰也 外2名,コンピュータオセロによる自然な手を選択する棋力調整手法の提案 ,情報処理学会 シンポジウム ゲームプログラミングワークショップ(GPWS) 2021 [online],情報処理学会,2021年11月06日,pp. 9-14 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2025043150A (en) | 2025-03-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7849489B2 (en) | Extending machine learning language models using search engine results | |
| US11886826B1 (en) | Systems and methods for language model-based text insertion | |
| US8156060B2 (en) | Systems and methods for generating and implementing an interactive man-machine web interface based on natural language processing and avatar virtual agent based character | |
| RU2607416C2 (en) | Crowd-sourcing vocabulary teaching systems | |
| US20240311549A1 (en) | Systems and methods for language model-based text editing | |
| CN117592568B (en) | Data link generation method and device based on large language model | |
| JP6696257B2 (en) | Vocabulary learning support system | |
| US20210182733A1 (en) | Training method and device for machine translation model and storage medium | |
| JP7669810B2 (en) | Information processing program, information processing method, and information processing device | |
| US12524465B2 (en) | Systems and methods for browser extensions and large language models for interacting with video streams | |
| KR102501297B1 (en) | Knowledge map update method and system | |
| CN119167934B (en) | A prompt word generation method and related device | |
| CN114647408A (en) | Method and device for complementing codes, electronic equipment and storage medium | |
| JP7295463B2 (en) | Business flow creation support device, business flow creation support method, and business flow creation support program | |
| CN112199476A (en) | Automated decision making to select a leg after partial correct answers in a conversational intelligence tutor system | |
| CN119415677A (en) | Role-playing model training method and device | |
| Weinberg | Generative AI as a supportive tool for scientific research | |
| JP7692966B2 (en) | Information providing device, information providing method, and information providing program | |
| CN120409428A (en) | Document processing model training method and device, document processing method and device | |
| US20240427998A1 (en) | Contextual query generation | |
| JP7586980B1 (en) | Information providing device, information providing method, and information providing program | |
| Orosoo et al. | Analysing Code-Mixed Text in Programming Instruction Through Machine Learning for Feature Extraction | |
| Campesato | GPT-4 for Developers | |
| WO2025057384A1 (en) | Detection device and detection method | |
| US11386160B1 (en) | Feedback control for automated messaging adjustments |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230915 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241203 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250203 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250513 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250604 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7692966 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |