# パワーポイント資料の骨子作成

パワーポイント資料の骨子作成アプリでは、パワーポイント資料作成のためのアジェンダ生成から、パワーポイントに出力するためのVBAコードを生成します。

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

<figure><img src="/files/MscooTbdRNMWzPEKMDkr" alt=""><figcaption></figcaption></figure>

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

パワーポイント資料の骨子作成アプリでは、入力された資料の内容やページ数を元にアジェンダを作成し、アジェンダの情報からVBAのコードを生成します。

### パワーポイントの概要の入力 (入力フォームノード) <a href="#llm-input-node1" id="llm-input-node1"></a>

入力フォームノードで"資料の内容"と"ページ数"を入力し、変数に保存します。

**資料の内容、タイトル**

変数：＠CONTENTS

* 変数種別：会話変数
* タイプ：文字列

**資料の最大ページ数(例：30ページ)**

変数：＠PAGE

* 変数種別：会話変数
* タイプ：文字列

<figure><img src="/files/F8y7PROUel3KJhhbeK37" alt="" width="563"><figcaption></figcaption></figure>

### アジェンダを作成する(LLM実行ノード) <a href="#llm-node2" id="llm-node2"></a>

LLM実行ノードでは、ユーザーの入力を保存した変数情報(@CONTENTS , @PAGE)をプロンプトで指定し、実行しています。

* ベースモデル：OPEN AI GPT-4 TURBO
* プロンプト：アジェンダ作成

<figure><img src="/files/u8U9ueSgNJ6WDevrXptc" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/pKGiwFQebLGeFO54eUGR" alt=""><figcaption></figcaption></figure>

また、LLMが出力した内容は以下の変数に保存しています。

変数：＠AGENDA

* 変数種別：会話変数
* タイプ：文字列

### 作成されたアジェンダの確認(入力フォームノード) <a href="#llm-input-node1" id="llm-input-node1"></a>

入力フォームノードで、VBAの元となる作成されたアジェンダをユーザーに提示し、確認を行います。\
ユーザー側で編集をすることも可能です。\
適用ボタンが選択されると内容を変数に保存します。

変数：＠AGENDA

* 変数種別：会話変数
* タイプ：文字列

<figure><img src="/files/TgpUO9stdGJxJhWsNnc7" alt="" width="563"><figcaption></figcaption></figure>

### VBAコードの生成(LLM実行ノード) <a href="#llm-node2" id="llm-node2"></a>

アジェンダの内容を元にVBAコードを生成します。\
LLM実行ノードでは、パワーポイントのページ数とアジェンダの内容を保存した変数情報(@PAGE , @AGENDA )をプロンプトで指定し、実行しています。

* ベースモデル：OPEN AI GPT-4 TURBO
* プロンプト：パワーポイントのVBA生成

<figure><img src="/files/n1UsOBYQlnpQXt6DmZ8r" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/BFANmhsfJJ2oRCYRD4rv" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.allganize.ai/alli-llm-app-market/app-market/default-apps/app-all/powerpoint-document-outline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
