Vertex AI Agent Builder を使用すると、デベロッパーは Google の基盤モデル、検索技術、会話型 AI テクノロジーの力を活用して、Vertex AI エージェントと Vertex AI Search を通じてエンタープライズ グレードの生成 AI アプリケーションを作成できます。AI は初期段階の技術であるため、その進化する機能の適用方法や利用方法を誤ると、意図しない結果や予期せぬ結果を招く可能性があります。たとえば、Vertex AI Agent Builder では、不適切なテキスト、配慮に欠けるテキスト、事実と異なるテキストなど、予期しない出力が生成される可能性があります。
こうしたリスクと複雑さを考慮して、Vertex AI Agent Builder は Google の AI に関する原則を念頭に置いて設計されています。ただし、安全かつ責任を持ってデプロイするには、デベロッパーがモデルを理解してテストすることが重要です。デベロッパーを支援するため、Vertex AI Agent Builder には、お客様がユースケース内で有害な可能性がある出力をブロックできるように、安全フィルタが組み込まれています。詳細については、Vertex AI Search の安全性設定をご覧ください。
Vertex AI Agent Builder をお客様固有のユースケースやコンテキストに統合する場合は、責任ある AI に関する追加の考慮事項とモデルの制限を考慮することが必要になる場合があります。お客様には、公平性、解釈可能性、プライバシー、セキュリティの推奨プラクティスを取り入れることをおすすめします。
Vertex AI Search の安全性設定
Vertex AI Search には、露骨な表現を含むウェブサイトの検索結果を除外するセーフサーチ フィルタがあります。露骨な表現を含むコンテンツには、ポルノ、暴力、流血などが含まれます。非公開コンテンツにはセーフサーチ フィルタリングは適用されません。
セーフサーチは、Vertex AI Search によってインデックスに登録された公開コンテンツ(ウェブサイトなど)に適用できます。セーフサーチをオンにすると、Vertex AI Search は、画像、動画、ウェブサイトのすべてのクエリについて、お客様の Vertex AI Search の検索結果から露骨な表現を含むコンテンツを除外します。これらのフィルタは 100% の精度ではありませんが、YouTube はフィルタリング機能を継続的に評価し、更新しています。
特定のコンテキストやユースケースでは、Vertex AI Search から包括的な分析情報と結果を収集するために、露骨なコンテンツが含まれている場合でも、幅広い情報にアクセスすることが必要になる場合があります。safe_search を「true」または「false」に設定することで、API を使用してセーフティ フィルタを有効または無効にできます。
Vertex AI Search でセーフサーチを有効にするには、次の API 呼び出しを使用します。
safe_search 設定は、検索結果と、要約(検索結果に基づく)などの Vertex AI Search の出力に適用されます。
要約などの Vertex AI Search の出力は、安全性属性のリストと照らし合わせて評価されます。このリストは、safe_search がオフの場合でも、有害な可能性のあるコンテンツをフィルタします。
非公開コンテンツとウェブサイト検索の要約
要約などの Vertex AI Search の出力は、安全性属性のリストと照らし合わせて評価されます。これにより、ウェブサイト検索の safe_search がオフの場合でも、中傷、性的露骨、有害、暴力的な情報など、有害な可能性のあるコンテンツがフィルタされます。また、Vertex AI Search API レスポンスで safetyAttributes を使用すると、「有害なカテゴリ」や機密情報とみなされるトピックを含む回答を除外できます。
フォールバック レスポンス
要約モデルがリクエストに対して空の文字列または汎用レスポンスを返す場合、入力または出力のいずれかによって安全フィルタがトリガーされています。Vertex AI Search API レスポンスで、ポリシー違反の可能性が検出された場合は、SummarySkippedReason が BLOCKED_DUE_TO_POTENTIAL_POLICY_VIOLATION に設定されます。
Vertex AI エージェントを利用する場合は、次の責任ある AI のベスト プラクティスをおすすめしました。
エンドユーザーに、bot とやり取りしていることを通知します
必要に応じて、回答が録音されるかどうか、録音される場合はいつ録音されるかをお客様に伝えます。
有害な回答に報告する方法を提供します
制限事項
Vertex AI エージェントは、中傷、露骨な性的表現、有害、暴力的な情報などのカテゴリに対する安全フィルタなど、さまざまな方法で責任を組み込んでいます。ただし、前述のように、これらの安全フィルタは 100% 正確ではありません。Google はフィルタリング機能の評価と更新を継続的に進めています。お客様には、モデルに関するフィードバックの提供、社会的な利益につながるユースケースの検討、安全性上重要なコンテキストでの Vertex AI エージェントの使用の回避をおすすめします。
Vertex AI エージェントは、分野の専門家に情報を提供できる複数のツールの 1 つであり、人間による監督なしで意思決定のコンテキストで使用されることを目的としたものではありません。安全フィルタが有効になっていない非構造化の機密データを組み込む場合は、使用前にモデル評価と人間による検証を重視することをおすすめします。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-12-21 UTC。"],[[["\u003cp\u003eVertex AI Agent Builder utilizes Google's AI technology to create generative AI applications, but developers should be aware of potential risks like generating offensive, incorrect, or unintended content.\u003c/p\u003e\n"],["\u003cp\u003eGoogle's AI Principles guide Vertex AI Agent Builder's design, and built-in safety filters are included to help block harmful outputs, although these are not 100% accurate.\u003c/p\u003e\n"],["\u003cp\u003eVertex AI Search offers SafeSearch filters for public content to help filter out explicit materials, with the option to enable or disable these filters via API settings.\u003c/p\u003e\n"],["\u003cp\u003eVertex AI Search outputs, such as summarization, are automatically filtered for harmful content, including derogatory, sexually explicit, toxic, or violent information, even if SafeSearch is turned off.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers are encouraged to follow Responsible AI best practices and be mindful of the model's limitations, especially when using private data, while also recognizing that human validation and oversight are crucial.\u003c/p\u003e\n"]]],[],null,["# Responsible AI\n\nAI Applications lets developers tap into the power of Google's foundation\nmodels, search expertise, and conversational AI technologies to create\nenterprise-grade generative AI applications.\nAs an early-stage technology, its\nevolving capabilities and uses create potential for misapplication, misuse, and\nunintended or unforeseen consequences. For example, AI Applications can\ngenerate output that you don't expect, including text that's offensive,\ninsensitive, or factually incorrect.\n\nGiven these risks and complexities, AI Applications is designed with\nGoogle's [AI Principles](https://ai.google/principles/) in mind. However, it is\nimportant for developers to understand and test their models to deploy safely\nand responsibly. To aid developers, AI Applications has built-in safety\nfilters to help customers block potentially harmful outputs within their use\ncase. For more information, see [Safety settings for Vertex AI Search](#safety-settings-search).\n\nWhen AI Applications is integrated into a customer's unique use case and\ncontext, additional responsible AI considerations and model limitations might need\nto be considered. We encourage customers to leverage fairness, interpretability,\nprivacy, and security [recommended\npractices](https://ai.google/responsibilities/responsible-ai-practices/).\n\nSafety settings for Vertex AI Search\n------------------------------------\n\nVertex AI Search offers SafeSearch filters to filter explicit website\nsearch results. Explicit results might include content like pornography, violence,\nand gore. SafeSearch filtering is not available for private content.\n\nSummarization (both for website search and private content) filters out\nresponses such as derogatory, sexually explicit, toxic, or violent information.\nAdditionally, the summarization response contains safety attributes, which\ninclude \"harmful categories\" and topics that might be considered sensitive.\n\n### Website search\n\nSafeSearch can be applied to public content indexed by\nVertex AI Search, such as\n[websites](/generative-ai-app-builder/docs/enterprise-search-introduction#websites). When SafeSearch is on,\nVertex AI Search helps filter out explicit content in a customer's\nVertex AI Search results for all queries across images, videos, and\nwebsites. While those filters are not 100% accurate, we continuously evaluate\nand update filtering capabilities.\n\nIn certain contexts and use cases, customers might require access to a wide range\nof information, even if it includes explicit content, to gather comprehensive\ninsights and results from Vertex AI Search. Customers can enable and\ndisable safety filters using the API by setting `safe_search`\nto \"true\" or \"false\".\n\nTo enable SafeSearch for Vertex AI Search, use the following API\ncall: \n\n curl -X POST\\\n -H \"Authorization: Bearer $(gcloud auth application-default print-access-token)\"\n -H \"Content-Type: application/json\"\\\n \"https://discoveryengine.googleapis.com/v1/projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/global/collections/default_collection/dataStores/\u003cvar translate=\"no\"\u003eDATA_STORE_ID\u003c/var\u003e/servingConfigs/default_config:search\"\n -d '{\n \"query\": { \"input\": \"\u003cvar translate=\"no\"\u003eFREE_TEXT\u003c/var\u003e\"},\n \"serving_config\": \"\u003cvar translate=\"no\"\u003eSERVING_CONFIG_ID\u003c/var\u003e\",\n \"safe_search\": \"true\",\n }'\n\nTo enable SafeSearch for Search with follow-ups in Vertex AI Search,\nuse the following API call: \n\n curl -X POST \\\n -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n -H \"Content-Type: application/json\" \\\n \"https://discoveryengine.googleapis.com/v1beta/projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/global/collections/default_collection/dataStores/\u003cvar translate=\"no\"\u003eDATA_STORE_ID\u003c/var\u003e/conversations/\u003cvar translate=\"no\"\u003eCONVERSATION_ID\u003c/var\u003e:converse\" \\\n -d '{\n \"query\": { \"input\": \"\u003cvar translate=\"no\"\u003eFREE_TEXT\u003c/var\u003e\"},\n \"serving_config\": \"\u003cvar translate=\"no\"\u003eSERVING_CONFIG_ID\u003c/var\u003e\",\n \"safe_search\": \"true\",\n }'\n\nThe `safe_search` setting applies to search results and also to\nVertex AI Search outputs like summarization (which is based on the search\nresults).\n\nVertex AI Search outputs, such as summarization, are assessed against a list of\nsafety attributes which filter potentially harmful content even when\n`safe_search` is turned off.\n\n### Summarization for private content and website search\n\nVertex AI Search outputs, such as summarization, are assessed against a list of\nsafety attributes, which filters potentially harmful content such as derogatory,\nsexually explicit, toxic, or violent information, even when `safe_search` for\nwebsite search is turned off. Additionally, you can filter out responses which\ninclude \"harmful categories\" and topics that might be considered sensitive by\nusing `safetyAttributes` in the Vertex AI Search API response.\n\n### Fallback responses\n\nIf the summarization model responds to a request with an empty string or a\ngeneric response, it means that either the input or the output is triggering a\nsafety filter. In the Vertex AI Search API response,\n`SummarySkippedReason` is set to `BLOCKED_DUE_TO_POTENTIAL_POLICY_VIOLATION` if\na potential policy violation is detected.\n\nIf you think that a safety filter is being inappropriately\ntriggered, [report this issue](/support/docs/issue-trackers) via the\nGoogle Cloud console.\n\nAdditional resources\n--------------------\n\n- Learn more about Google's recommendations for [Responsible AI practices](https://ai.google/responsibility/responsible-ai-practices/)\n- Read our blog, [A shared agenda for responsible AI progress](https://blog.google/technology/ai/a-shared-agenda-for-responsible-ai-progress/)"]]