Difference between revisions of "Interactive Mode"

From SmartWiki
Jump to: navigation, search
(Created page with "==Interactive Mode== The AI interactive mode can be enabled on organization profiles, user profiles, and UTA records. In this example, we can configure interactive mode on a U...")
 
Line 39: Line 39:
 
* Be specific and descriptive about the desired outcome, including details about context, length, format, style, etc
 
* Be specific and descriptive about the desired outcome, including details about context, length, format, style, etc
 
* Provide an example or desired format in the prompt if necessary
 
* Provide an example or desired format in the prompt if necessary
 +
 +
[[Category:AI]]

Revision as of 11:57, 28 November 2023

Interactive Mode

The AI interactive mode can be enabled on organization profiles, user profiles, and UTA records. In this example, we can configure interactive mode on a UTA to streamline the application process. 

Configuring Interactive Mode

As an example, we will configure the AI on a particular UTA by the following steps:

  1. Go to UTA > Configuration Settings > Level 1/2/3 tab > AI. On this page, custom instructions and templates can be set up.
    The instruction text will be displayed to users who use the Work with +AI feature on a particular record. Clicking the Sample Instructions link will auto-populate the field with default instructions.
  2. On the Permissions & Availability tab, set access to the feature by role, record type, or record status.
  3. Click Save.

Using Interactive Mode

  1. Navigate to the desired UTA record and select Tools > Work with +AI in the top action bar.
    Users with permission may access the interactive AI mode from record pages via the Tools menu.
  2. This will open a modal window into which you can enter your prompts and adjust the Temperature setting.
    In the interactive mode users can enter prompts using natural language, refine the responses by asking follow-up related questions in a conversational format. Users may also select from predefined prompts.

Setting up Templates

Templates can be created to streamline common processes and essentially function as a prompt library. As an example, let's set up a template that will automatically translate the objectives of a record into another language. We will use a variable to achieve this goal.

Creating a Template

  1. Go to UTA > Configuration Settings > Level 1/2/3 tab > AI > Click the New Template button.
  2. Under the General tab, give the template a Name and a Caption. The Caption is what will be surfaced to users during template selection.
  3. Enter the template contents in the Template field. When referencing specific record fields, be sure to use the Field Name rather than the Caption. In our example, we can ask the AI to translate the content of a specific field into French by referencing the field name in quotations.
    Templates allow you to reference field names.
  4. Set who has access to use this template under the Permissions & Availability tab.
  5. Click Save.


Selecting a Template

  1. Go to the desired UTA record > Tools > Work with +AI.
  2. Select the preferred template from the dropdown.
    When selecting a template, any variables used will automatically resolve in the prompt window.
  3. Set the desired Temperature. This setting controls the level of randomness desired from the AI's response. A lower number correlates to a more consistent and repeatable response.
  4. Click the Send button. After a moment, the AI will respond to the request.
    Once the AI returns with a response, you can give it further prompts or select another template.

Best Practices for Template Prompts

When deciding which prompts to use in a template, it can be helpful to test the variables by going to any UTA record and clicking Tools > Configuration Mode > Variable Syntax Helper. Here, you can test your expressions and see if your variables resolve correctly.

Some best practices for prompt engineering according to OpenAI are:

  • Put the instructions at the start of the prompt and use double quotation marks ( " " ) to separate the instructions from the context
  • Be specific and descriptive about the desired outcome, including details about context, length, format, style, etc
  • Provide an example or desired format in the prompt if necessary