# 文法チェッカー

文法チェッカーアプリでは、「チェックする文章」」の入力のみ様々な言語の文章を文法的に誤りがないかをチェックし、修正された文章を提供ですることができます。

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

下記の入力例を基に文法をチェックします。

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

* **チェックする文章：**"The dog barked loud in the night and I were thinking it was a cat outside."

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

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

入力例の内容で生成を実施すると下記のように文法をチェックします。

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

<figure><img src="/files/40pogrp97XjQM5VnXFAS" alt=""><figcaption></figcaption></figure>

```
【指摘箇所】
1. "The dog barked loud"の部分では、形容詞の"loud"ではなく、副詞の"loudly"を使用するべきです。
なぜなら、"barked"は動詞であり、動詞を修飾するのは副詞だからです。
2. "I were thinking"の部分では、主語"I"に対して単数形の"was"を使用するべきです。
なぜなら、"I"は単数主語であり、単数主語に対しては単数形の動詞を使用するのが正しいからです。

【修正案】
"The dog barked loudly in the night and I was thinking it was a cat outside."
```

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

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

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

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

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

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

* **チェックする文章**
  * 変数：@sentence
  * インプットタイプ：パラグラフスタイル

### 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 %}


---

# 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/grammar-checker.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.
