Chino Yoshio Blog

JSON Format That Generative AI Can Understand More Easily

Hello, my name is Chino Yoshio. I am a composer based in Kyotanabe, Kyoto. In this post, I would like to briefly touch on JSON, a file format that generat…

JSON Format That Generative AI Can Understand More Easily

JSON Format That Generative AI Can Understand More Easily
Hello, my name is Chino Yoshio. I am a composer based in Kyotanabe, Kyoto. In this post, I would like to briefly touch on JSON, a file format that generative AI tends to handle relatively well.

▪️ Structured information works better than messy text When you upload a large amount of unstructured text to a generative AI and ask for advice, the response can sometimes become inconsistent or unfocused. In such cases, it is often helpful to first ask the AI to organize or summarize the content in JSON format (JavaScript Object Notation).

JSON files can be easily opened and checked using a simple text editor. By looking at the structured JSON output, you can clearly see what kind of information has been extracted and how it has been organized.

Uploading this cleaned and structured JSON file back to the AI before asking questions often results in clearer and more stable answers.

▪️ Summarizing manuals in JSON format If a manual exists as plain text or a PDF file, it can be useful to have the AI summarize and reorganize it into JSON format first. Once that JSON file is uploaded again and used as the basis for questions, the accuracy and clarity of the AI’s responses tend to improve.

Rather than providing raw text, supplying structured information is one practical way to make better use of generative AI.

生成AIが理解しやすいJSON形式

こんにちは、京都京田辺で作曲活動をしています Chino Yoshio です。 今回は、生成AIが比較的理解しやすいファイル形式である JSON形式 について、軽く触れておこうと思います。

▪️ 雑多な文章よりも整理された情報 生成AIに対して、雑多な文章を大量にアップロードし、「これを元にアドバイスをください」と質問すると、回答がブレてしまうことがあります。 そうした場合は、まずその文章を生成AIに JSON形式(JavaScript Object Notation)で整理 してもらったり、要約してもらうことをおすすめします。

JSONファイルは、メモ帳などのテキストエディタで中身をそのまま確認できます。 整理されたJSONを見ることで、「どんな情報が」「どのような構造で」まとめられているのかが把握しやすくなります。

その上で、整理済みのJSONファイルを生成AIにアップロードして質問したほうが、より明確で安定した回答が得られることが多いと感じています。

▪️ マニュアルをJSON形式で要約してもらう マニュアルがテキスト形式やPDFで存在する場合も、一度生成AIに JSON形式で要約・整理 してもらうと有効です。 そのJSONファイルを改めて生成AIに読み込ませた上で質問すると、回答の精度が上がりやすくなります。

文章をそのまま渡すのではなく、「構造化された情報」として渡すことが、生成AIをうまく使うための一つのコツだと思っています。
Navigation

This article is part of the official Chino Yoshio Blog.