Create AI Skill: with 데이터 저장소에 기반함 모델 연결

This is the next logical step after creating a 데이터 저장소에 기반함 모델 연결. You would create an AI Skill: and connect it to a Grounded 모델 연결 from Google Vertex AI.

주:

Google Vertex AI 데이터 저장소에 기반함 모델 연결 is now available in Automation 360 v34 release on 클라우드 as well. You can use this feature in 클라우드 and 온프레미스.

Google 데이터 스토어 with document chunking is now supported to ensure optimal results in automation executions. You can enable document chunking in the Google 데이터 스토어 for using Google Vertex AI Grounded models in AI Agent Studio.

A Pro Developer creates AI Skill: so the Bot Creators can use these in their automations to save time and effort.

AI Skill: are created by connecting to 모델 연결 the Pro Developer has access to. Next, the AI Skill: is fine-tuned by testing the prompts using different grounded models to find the best response that addresses the business ask. These AI Skill: are made available to Bot Creators for use to help accelerate the task of creating automations across solutions.

전제 조건

A Pro Developer requires these roles and permissions to create and test AI Skill:.
  • Role: AAE_Basic, Pro Developer Custom role
  • Permission: Bot Creator

See AI 도구에 대한 역할과 권한

Other requirements:

Besides the roles and permissions the Pro Developer must be connected to a Bot 에이전트 22.60.10 and later. As part of testing the 모델 연결, you would have to run the on your desktop. Hence ensure the Bot 에이전트 is configured to your user. If you have to switch connection to a different Control Room, see: Control Room 인스턴스 간 기기 등록 전환.

프로시저

  1. Log in to the Control Room and navigate to Automation > Create new or ‘+’ icon and choose AI Skill:.
  2. Provide a name and description and click Create & edit to display a template outline.
  3. In the AI Skills screen, click Choose model connection to choose from the available list of 모델 연결 you have access to. You would choose a 모델 연결 that was created using the 데이터 소스에 근거함 type option from Google Vertex AI.
    These 모델 연결 are created by the Automation Admin and assigned to your user with a custom role.
  4. After selecting a 모델 연결, the AI Skill: is set up with the default parameter settings that is optimal for the chosen model. You can change the settings as required.
    The AI Skill: editor displays with default parameter values set by the model vendor which you can configure as required. These values can be configured when creating a data store in 에이전트 빌더.
  5. Next, add a filter condition, which is optional. This field supports a string format for entering the filter value. Adding a filter helps narrow down the model's search to the specific files within the Google 데이터 스토어.

    You can make sure that the AI Skill: grounds the response using information in a specific set of documents in the Google 데이터 스토어 by adding relevant metadata to the data store. This narrows down the scope of response and makes it more accurate. This also helps reduce the size of the data retrieved from the vector data store before passing it to the foundational model. If the data store content is vast, this filtering mechanism using metadata helps get a better response performance from the 프롬프트 query. For example: for the example What is the gift tax limit for the year 2024? (see below), you could use a filter for tax_year: ANY("2024").

    See Filter generic search for structured or unstructured data .

  6. Now you can start creating an AI Skill: and add prompt inputs, as required. Let us use an example to walk you through the steps.
  7. In the Prompt field enter your 프롬프트 text with the input variables.

    For example:

    What is the gift tax limit for the year 2024?

    Prior to this step, you would have uploaded tax rule PDF documents for the last 3 years in the 에이전트 빌더 such as: tax_rules_2022.pdf, tax_rules_2023.pdf, and tax_rules_2024.pdf.

    The response for the 프롬프트 text will be referenced from the tax_rules_2024.pdf document.

  8. Click out of the Prompt entry field.
  9. Click Get response to get a response from the model based on your 프롬프트.
    주: 프롬프트 data details could contain PHI, PII or other sensitive data you choose to enter in the 프롬프트. We recommend being mindful of this when testing and executing a 프롬프트.
  10. The 데이터 저장소에 기반함 모델 연결 returns a response in the Response field, and additionally displays a Citations field displaying all citation references.

    Citations are chunks of information stating, which section of a document stored in the 데이터 저장소에 기반함, the response is referenced from. You can see the document title of the referenced data store from the Google 데이터 스토어.

    See Parse and chunk documents , and Chunk documents for RAG .

    주: The Document retrieval count parameter determines the maximum number of chunks that can be retrieved from the data store and provided as context to the hyperscaler model to generate the response.

다음 단계

Your next step would be to check-in the AI Skill: to make it available to Citizen Developers and Pro Developers using the AI Skill: package.

Why would you check-in an AI Skill:?

After creating an AI Skill:, check it into the Public folder. This will let the Pro Developer, and Citizen Developer use it from the AI Skill: package in the production environment.

A Task Bot, with one or multiple embedded AI Skill: can be added to a larger automation that would run a complete workflow scenario. You would create such a workflow in a Process Composer.

주: When you create or test an AI Skill: in the AI Skill screen, the success or failure details along with the model responses can be viewed in these navigation screens:
  • Administration > AI governance > AI Prompt log
  • Administration > AI governance > Event log
  • Administration > Audit log

See AI 거버넌스.

As the next step in your sequence of tasks, go to Task Bot에 AI Skill: 사용 and use the AI Skill: in an automation.