{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Treasure DataのAIシステムの仕組み","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"treasure-dataのaiシステムの仕組み","__idx":0},"children":["Treasure DataのAIシステムの仕組み"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataのAIシステムは、セキュリティとプライバシーを念頭に置いて設計されており、最大限の機能と将来の開発を提供する最も簡潔なアーキテクチャを備えています。この目的のために、システムは以下に説明するいくつかの異なるパラダイムで機能すると概念化できます:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["大規模言語モデル(LLM)への単一エージェント呼び出し"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AIシステムとの最も単純なやり取りは、ユーザーが1つのエージェントのみとやり取りし、そのエージェントがLLMを直接呼び出す場合です。次のステップを実行する可能性があります:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーがユーザープロンプトをシステムに入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザープロンプトとシステムプロンプトがLLMをホストするサービス(例: Amazon Bedrock)に送信されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスがエージェントに応答を返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントが応答をUIに渡し、ユーザーに表示されます。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この場合、出力はLLMがトレーニングされた目的関数を満たす応答を返す能力のみを使用して生成され、ユーザープロンプトとシステムプロンプトがコンテキストとして使用されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ナレッジベースへのRetrieval Augmented Generation (RAG)を使用したLLMへの単一エージェント呼び出し"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["より洗練されたやり取りでは、LLMを使用してナレッジベースに基づいた回答が最適なクエリのユーザーの意図を理解し、RAGアーキテクチャを活用してナレッジベースに直接クエリを実行し、結果を返して解釈します。次のステップを実行する可能性があります:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーがユーザープロンプトをシステムに入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザープロンプトとシステムプロンプトがLLMをホストするサービス(例: Amazon Bedrock)に送信されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスがエージェントに応答を返します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["応答には、自然言語のリクエストを機械可読(例: SQL)コードに変換することが含まれます。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コードはエージェントによってTreasure Data内の環境に渡され、そこでコード(例: クエリ)が実行され、完了するまで待機し(例: クエリの実行)、その後応答(例: クエリ応答)がエージェントに返され、エージェントは追加のコンテキストとしてLLMをホストするサービスに送信します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスは、コード/クエリの出力と以前のコンテキストを使用して応答を作成します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントが応答をUIに渡し、ユーザーに表示されます。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LLMへのスーパーバイザーエージェントとサブエージェント呼び出し"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["もう一つの洗練されたやり取りでは、スーパーバイザーエージェントがLLMを活用して、実行すべき狭義に定義されたタスクを持つサブエージェントを特定し、スーパーバイザーエージェントに応答を返します。次のステップを実行する可能性があります:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーがユーザープロンプトをシステムに入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スーパーバイザーエージェントのコンテキストでのユーザープロンプトとシステムプロンプトがLLMをホストするサービス(例: Amazon Bedrock)に送信されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスが、AI Agent Foundryで事前設定されたサブエージェントを呼び出す必要があるという応答をスーパーバイザーエージェントに返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コンテキストがサブエージェントに渡され、サブエージェントはスーパーバイザーエージェントのユーザープロンプトとシステムプロンプト、およびサブエージェントのシステムプロンプトを活用します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスがサブエージェントに応答を返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サブエージェントが出力をスーパーバイザーエージェントに返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スーパーバイザーエージェントが、ユーザーの意図が満たされたことを確認するために、応答をLLMをホストするサービスに返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスが、すべての前のステップをコンテキストとして応答を作成します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントが応答をUIに渡し、ユーザーに表示されます。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ナレッジベースへのRAGを使用したLLMへのスーパーバイザーエージェントとサブエージェント呼び出し"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["最後に、複数のエージェントの調和により、特定のエージェントがナレッジベースへのRAG呼び出しなどの特定のツールを利用できるようになります。Treasure DataのAudience Agentでも同様のアーキテクチャとプロセスが使用されています。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーがユーザープロンプトをシステムに入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スーパーバイザーエージェントのコンテキストでのユーザープロンプトとシステムプロンプトがLLMをホストするサービス(例: Amazon Bedrock)に送信されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスが、AI Agent Foundryで事前設定されたサブエージェントを呼び出す必要があるという応答をスーパーバイザーエージェントに返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コンテキストがサブエージェントに渡され、サブエージェントはスーパーバイザーエージェントのユーザープロンプトとシステムプロンプト、およびサブエージェントのシステムプロンプトを活用します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["応答には、自然言語のリクエストを機械可読(例: SQL)コードに変換することが含まれます。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コードはTreasure Data内の環境に渡され、そこでコード(例: クエリ)が実行され、完了するまで待機し(例: クエリの実行)、その後応答(例: クエリ応答)が追加のコンテキストとしてLLMをホストするサービスに返されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスが、コード/クエリの出力と以前のコンテキストを使用して応答を作成します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスがサブエージェントに応答を返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サブエージェントが出力をスーパーバイザーエージェントに返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スーパーバイザーエージェントが、ユーザーの意図が満たされたことを確認するために、応答をLLMをホストするサービスに返します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LLMをホストするサービスが、すべての前のステップをコンテキストとして応答を作成します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントが応答をUIに渡し、ユーザーに表示されます。"]}]}]}]},"headings":[{"value":"Treasure DataのAIシステムの仕組み","id":"treasure-dataのaiシステムの仕組み","depth":1}],"frontmatter":{"seo":{"title":"Treasure DataのAIシステムの仕組み"}},"lastModified":"2025-11-22T02:43:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/ai-agent-foundry/how-treasure-data-s-ai-systems-work","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}