> 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/legal-contracts/subcontract_act_checker.md).

# 下請法チェッカー

下請法チェッカーアプリでは、下請法に則って、委託先との間で下請法がが適用されるかどうかをチェックします。

<figure><img src="/files/2CcS1fs9Ut1Xz9LLh0wL" alt=""><figcaption></figcaption></figure>

下記の入力例を基にチェックを行います。

## 入力例 <a href="#example1" id="example1"></a>

* **自社の資本金：**&#x36;000万円
* **取引先の資本金：**&#x35;000万円
* **取引内容：**&#x30D7;ログラムの作成業務の委託

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

## 結果例 <a href="#example2" id="example2"></a>

入力例の内容で生成を実施すると下記のような結果が生成されます。

生成された文章は、その場で編集やコピー、ファイルとしてダウンロード(txt・PDF・docx)が可能です。

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

{% code overflow="wrap" %}

```
取引内容がプログラムの作成業務の委託であるため、このケースでは最初のルールセットが適用されます。自社の資本金は6000万円であり、これは1000万1円以上3億円未満の範囲に該当します。しかし、このルールによると、取引先の資本金が1000万円以下であれば下請法が適用されるとされていますが、取引先の資本金は5000万円であり、この条件を満たしていません。

したがって、このケースでは下請法は適用されません。
```

{% endcode %}

## アプリ編集画面 <a href="#edit" id="edit"></a>

標準で用意されているインプット項目とLLMモデル・プロンプトは下記の内容になります。

### インプット <a href="#input" id="input"></a>

利用者に入力してもらいたい項目を3つご用意しています。

インプット項目は追加や削除、入力形式(インプットタイプ)の変更をすることができます。

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

* **自社の資本金**
  * 変数：@Mycapital
  * インプットタイプ：テキスト
* **取引先の資本金**
  * 変数：@capital
  * インプットタイプ：テキスト
* 取引内容
  * 変数：@business
  * インプットタイプ：パラグラフ

### LLMモデル <a href="#model" id="model"></a>

標準モデルは「OPENAI GPT-4 TURBO」がセットされています。

{% hint style="warning" %}
モデルを変更することで生成結果の仕上がりが変わる場合があります。
{% endhint %}

### **プロンプト** <a href="#prompt" id="prompt"></a>

{}で囲まれているものはインプットで設定されている変数が当てはめられており、プロンプト記載欄の下にチップの形で表示されている変数をクリックすると簡単に記載ができます。

{% hint style="warning" %}
インプットの変数を変更した際は、プロンプト内の変数も変更する必要があります。
{% endhint %}

#### プロンプトのOne Pointアドバイス <a href="#prompt_onepoint" id="prompt_onepoint"></a>

{% hint style="info" %}
デフォルトプロンプトで指定しているチェックの条件以外に懸念されるチェック項目がある場合、プロンプトに追記することで、より厳格なチェック内容を出力することができます。
{% endhint %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.allganize.ai/alli-llm-app-market/manual/for_admin/default-apps/legal-contracts/subcontract_act_checker.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
