Manage SuiteScript AI Preferences

The SuiteScript subtab on the AI Preferences page is where users with the Administrator role can view monthly SuiteScript Generative AI APIs usage for the account or configure NetSuite to use your company's Oracle Cloud account configuration for SuiteScript Generative AI APIs.

SuiteScript Generative AI APIs (N/llm module) enable you to work with generative artificial intelligence (AI) in NetSuite using SuiteScript. You can use these APIs to send requests to large language models (LLMs) and to receive responses from them. For more information about using this feature, see SuiteScript 2.x Generative AI APIs.

See the following sections and topic for more information:

Enable or Disable OCI Credentials for SuiteScript

Note:

Before you can enable SuiteScript Generative AI APIs to use OCI credentials, you must complete the OCI configuration on the Settings tab of the AI Preferences page. For more information, see Configure OCI Credentials for AI

To enable or disable OCI credentials for SuiteScript:

  1. Go to Setup > Company > AI > AI Preferences.

  2. From the AI Preferences page, click the SuiteScript subtab.

  3. On the SuiteScript subtab:

    • Check the Use OCI Credentials for SuiteScript box to enable SuiteScript to use your account's OCI credentials for paid, unlimited usage mode through your Oracle Cloud account.

      When you enable SuiteScript Generative AI APIs to use OCI credentials through the AI Preferences page, SuiteScript code with the N/llm module will default to using the OCI configuration in AI Preferences. You can override use of the OCI configuration in AI Preferences by including the ociConfig object in your SuiteScript code.

    • Clear the Use OCI Credentials for SuiteScript box to disable SuiteScript from using your account's OCI credentials. SuiteScript usage will draw from your monthly pool of free limited uses. For more information, see View SuiteScript AI Usage Limit and Usage

  4. Click Save.

Related Topics

General Notices