> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/devops/devops-ja/she-ding/ai-she-ding/ai-no.md).

# AI 機能の概要

## ![](https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FG5ZbxX918xOHwbAwAJ4n%2FSummary2-Small-Icon.svg?alt=media\&token=da26a67f-ff7f-47b3-8669-06be960dc2d7) 概要

DevOps には、2つの一般的な開発タスクを効率化する組み込みの AI 機能が含まれています。コードドキュメントの生成と Salesforce テストクラスの作成です。これらの機能は手作業を減らし、コードの可読性を向上させ、プロジェクト全体のテストカバレッジを加速します。この概要では、各 AI 機能と、独自の AI モデルを DevOps に接続する利点について簡単に説明します。

{% hint style="info" %}

#### デフォルトのAI制限

デフォルトでは、FlosumはDeepSeekのAPIを通じて、DevOps向けに無料の共有DeepSeek AIモデルを提供します。これはテナント間で共有されているため、パフォーマンスと可用性はシステム負荷とトークン容量に依存します。使用が集中すると、遅延が大きくなったり、一時的なエラーが発生したりする場合があります。これを回避するには、独自のカスタムAIモデルを追加できます。次の記事を参照してください。

* [カスタム AI モデルの追加](/devops/devops-ja/she-ding/ai-she-ding/kasutamu-ai-moderuno.md)
  {% endhint %}

### カスタム AI モデル

DevOps の AI 機能を利用する予定であれば、Flosum の共有 AI リソースによって発生する問題を避けるために、独自のクラウドホスト型またはセルフホスト型の AI モデルを接続することをお勧めします。独自のモデルを使用すると、パフォーマンスの向上、レイテンシの削減、負荷の高い使用時の一時的なエラーの防止に役立ちます。セルフホスト型モデルは、クラウド AI プロバイダーよりも強力な情報セキュリティを提供することもできます。プロバイダーや選択するモデルによっては、速度と信頼性の向上が見込めます。DevOps は、DeepSeek や OpenAI のモデルを含む、OpenAI 互換の API エンドポイントを使用するモデルへの接続をサポートしています。カスタム AI モデルの追加方法については、次の記事を参照してください。

* [カスタム AI モデルの追加](/devops/devops-ja/she-ding/ai-she-ding/kasutamu-ai-moderuno.md)

### AI テストクラス作成機能

AI テストクラス作成機能は、DevOps で選択したコードコンポーネントに対して Salesforce のテストクラスを自動生成します。レビューしてブランチにコミットできるベースラインのテストクラスを生成することで、テストカバレッジの拡大を加速するのに役立ちます。AI テストクラス作成機能の使用方法については、次の記事を参照してください。

### AI コード文書化機能

AI コード文書化機能は、DevOps のコードコンポーネントにコメントを自動で追加します。読みやすく構造化されたコメントを生成し、レビューしてブランチに再コミットできるようにすることで、チームのコード文書化を支援します。AI コード文書化機能の使用方法については、次の記事を参照してください。


---

# 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.flosum.com/devops/devops-ja/she-ding/ai-she-ding/ai-no.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.
