# AI（ChatGPT）

## ショート動画で簡単にまなぶ <a href="#video" id="video"></a>

{% embed url="<https://youtu.be/LeYl91bEz1g>" %}

## 使い方 <a href="#usage" id="usage"></a>

利用したいチャンネルで `@Assort 会話内容` と入力して送信するだけです。

## **AIモデルについて** <a href="#model" id="model"></a>

AssortのAIチャット機能ではOpenAIのAPIを利用しております。

## **トークンについて** <a href="#token" id="token"></a>

AIチャット機能の利用には、Assortが独自に設定したトークンが消費されます。モデルによってトークンの消費量は異なります。

* **gpt-3.5-turbo**\
  OpenAI公式の算出方法とほぼ同じですが、Assortが提供するデフォルトのプロンプトが加わるため、実際の消費量はわずかに増えます。またスレッドで会話を継続する場合、以前の会話の内容（ユーザーがメンションした投稿と、それに対するAIの回答投稿）もOpenAI APIを呼び出す際のパラメータとして利用されるため、トークン消費量は増加します。トークンの計算方法については、OpenAI公式のツールを参考にしてください。\
  [OpenAI Platform](https://platform.openai.com/tokenizer)
* **gpt-4**\
  gpt-3.5-turboと比較して、トークン消費量は約45倍となります。
* **gpt-4-turbo**\
  gpt-3.5-turboに比べてトークン消費量は約20倍です。
* gpt-4o-mini: \
  gpt-3.5-turboと比較して、トークン消費量は約0.25倍となります。
* gpt-4.1: \
  gpt-3.5-turboと比較して、トークン消費量は約6倍となります。
* gpt-4.1-mini: \
  gpt-3.5-turboと比較して、トークン消費量は約1倍となります。

プロプランでは、5,000,000トークンが含まれており、これを超えた場合は追加料金が発生します。追加料金は、1,000,000トークンごとに200円となります。通常の使用では追加料金が発生することはほとんどないと予想されます。


---

# 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.assort.app/features/ai.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.
