# AIプロファイル

## 概要

AIプロファイルでは、AIエージェントで利用するAIモデルの設定ができます。

## 設定方法

「ワークスペース設定 ＞ オプション ＞ AIプロファイル」から設定を行います。

「AIプロファイルを作成」から作成するプロファイルの種類を選択の上で、保存してください。

## 種類

### Managed AI Profile

Codatumが管理するAIモデルを使用します。APIキーの設定は不要です。モデルやプロファイルに紐づくコンテキストの設定のみ可能です。

プロバイダーやモデルの詳細は設定できません。セキュリティ要件などでエンドポイントの指定がある場合はCustom AI Profileをご利用ください。

### Custom AI Profile

BYOAI（Bring Your Own AI）方式で、ユーザー自身のAPIキーを設定して利用します。利用するAIモデルなどを詳細に選択することが可能です。

Google Vertex AIを利用する場合は、サービスアカウントに`Vertex AI User`ロールの付与が必要になります。

{% hint style="info" %}
Custom AI Profileは有料オプションです。詳細はチャットまたは`support@codatum.com`までお問い合わせください。
{% endhint %}

## コンテキストノートブック

AIプロファイルには、コンテキストとして参照するノートブックを紐づけることができます。


---

# 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.codatum.jp/codatum-ai/ai-profile.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.
