> For the complete documentation index, see [llms.txt](https://docs.allganize.ai/alli-llm-app-market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allganize.ai/alli-llm-app-market/manual/for_admin/default-apps/app-all/gpt-4-vision-analysis.md).

# GPT-4 Visionで図や表の画像からデータを分析

GPT-4 Visionで図や表の画像からデータを分析アプリではGPT-4 Visionを活用して、図や表の画像ファイルからデータの分析を行います。

## フローの全体図 <a href="#overall" id="overall"></a>

<figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FNIz1pX2X6rIWwPOtsTPs%2Fimage.png?alt=media&amp;token=9e386a71-f109-4b23-8bbc-cd35d92d21c6" alt=""><figcaption></figcaption></figure>

## 概要 <a href="#outline" id="outline"></a>

GPT-4 Visionで図や表の画像からデータを分析アプリは、アップロードする画像データをどのような軸で分析したいかを入力し、図や表の画像データ(jpegやpingデータ)をアップロードし、入力された分析の軸と画像データを基にLLM実行ノードで分析を行います。

### どのような軸で分析を行うか入力する(入力フォームノード) <a href="#form-node" id="form-node"></a>

入力フォームノードを使って、分析したい内容を入力し変数に保存します。

* 分析内容
  * 変数：@ANALYZE1
  * 変数種別：会話変数
  * タイプ：文字列

<div><figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2F1712ZrWFKGD94xsXJnXb%2Fimage.png?alt=media&amp;token=4d398993-ab6f-4b74-8fcc-80c52d619f7a" alt=""><figcaption></figcaption></figure> <figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2Fx5CrseHJfhY74jEhFpr1%2Fimage.png?alt=media&amp;token=fd08bbea-0864-4478-8eb6-75faddce16af" alt=""><figcaption></figcaption></figure></div>

### 分析の対象となる図や表などの画像をアップロードする(LLMインプットノード) <a href="#llm-input-node" id="llm-input-node"></a>

LLMインプットノードで画像データをアップロードし変数に保存します。

* 選択タブ：アップロード
* 変数：＠FILE
  * 変数種別：会話変数
  * タイプ：ドキュメント

<div><figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FLhIA2dCiHNPb1oNTH22L%2Fimage.png?alt=media&amp;token=20679e59-cbd3-4e1e-9b7a-5685a5f20347" alt=""><figcaption></figcaption></figure> <figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FxlucwOVKnLQE5pzUEyvF%2Fimage.png?alt=media&amp;token=91e89bc8-027c-42a7-9605-20f84ce4b836" alt=""><figcaption></figcaption></figure></div>

### アップロードされた画像データを分析する(LLM実行ノード) <a href="#llm-node" id="llm-node"></a>

LLM実行ノードでは、分析したい内容を保存した変数(@ANALIZE1)とアップロードした画像データを保存した変数(＠FILE)をプロンプトで指定し、LLMが分析を行います。

* ベースモデル：GPT-4\_TURBO\_VISION
* プロンプト：図や表画像から分析

<div><figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2Fd3MkQcDFRROc8zMMk3Po%2Fimage.png?alt=media&amp;token=c4e1840a-37d1-4f7a-bd94-f658667fa433" alt=""><figcaption></figcaption></figure> <figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FTlWSq8QYeOCPz5CrxMMi%2Fimage.png?alt=media&amp;token=ef6939a2-f5a9-4e9f-ad04-45c906f92c9b" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2F0Ho2FhUacqgfFiVFdt0S%2Fimage.png?alt=media&amp;token=0acd5f36-3588-44bb-830b-75ab4bf41eca" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.allganize.ai/alli-llm-app-market/manual/for_admin/default-apps/app-all/gpt-4-vision-analysis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
