What's New in NetSuite AI
NetSuite continues to add and enhance features that use artificial intelligence (AI) and machine learning (ML). Click the following links to see what's new with NetSuite AI and ML features since the last major release:
Text Enhance Translations
Text Enhance Translations is a new capability of Text Enhance that lets you translate content in text area fields into supported languages. This feature helps you collaborate across multilingual global teams and communicate more clearly with customers.
With Text Enhance Translations, you can translate text into any supported language. By selecting the Translate to action and then a target language, you can translate everything in a supported field or only the text you highlight. Text Enhance Translations automatically detects the source language for you. For more information, see Text Enhance.
Text Enhance Translations is available by default for all accounts with Text Enhance. NetSuite accounts get unlimited free use of Text Enhance Translations. If you're a user with an Administrator role, you can manage settings, such as translation target languages. For more information, see Manage Text Enhance Translations Preferences.
Text Enhance Translations uses the OCI Language service through NetSuite to translate text. For more information about this service, refer to Language in the Oracle Cloud Infrastructure Documentation.
N/machineTranslation
A new SuiteScript 2.1 module, N/machineTranslation, was added. This module lets you translate documents into other languages using SuiteScript. You can send a set of documents, and the module will request translations from the Oracle Cloud Infrastructure (OCI) Language service. After it returns the translated documents, you can use them in your scripts. See N/machineTranslation Module for more information or refer to Language in the Oracle Cloud Infrastructure Documentation.
Increased Usage Limits for Generative AI Features
The free monthly usage limit for Text Enhance, Prompt Studio, and SuiteScript Generative AI APIs requests was increased from 1,000 requests per month to 2,000 requests per month. This means you can make more requests each month without needing Oracle Cloud Infrastructure (OCI) credentials.
Free monthly usage limits are tracked separately, so you can make up to 2,000 free requests per month for each feature. Requests types for each feature are:
-
All Text Enhance actions except Translate to (Text Enhance Translations feature has unlimited free use).
-
Prompt Studio Generate Preview actions.
-
SuiteScript Generative AI API calls (using the N/llm Module). The free monthly usage limit is tracked separately for embed requests (conversion of text to vector embeddings) and generate requests (text generation by large language models), so you can now make up to 2,000 free requests per month for each type.
To learn how to check your usage limit and current usage, see:
You can also verify how much free usage you have left when running SuiteScript code. Use the following methods:
Generative AI Availability Updates
Text Enhance, SuiteScript Generative AI APIs, and Prompt Studio are now available in more locations:
-
Brazil
-
Hong Kong
-
Mexico
-
Philippines
-
Singapore
Text Enhance is now available for more languages. If your account has Text Enhance, and your user preferences are set to one of these languages, you'll now see the Enhance Text button next to supported fields:
-
Portuguese (Brazilian)
-
Spanish
-
Spanish (Latin America)
See Generative AI Availability in NetSuite for more information.
SuiteScript Generative AI APIs
The N/llm module has the following new capabilities. See N/llm Module for more information.
-
Retrieval-augmented generation (RAG) support: You can give source documents to the large language model (LLM) when calling llm.generateText(options). The LLM uses information from the source documents to augment its response. The LLM also returns citations that identify which source documents it used. For an example of how to implement a RAG use case using the N/llm module, see Provide Source Documents When Calling the LLM.
-
Embedding support: The N/llm module's
embed(options)
method converts text to vector embeddings. Your SuiteScript applications can use vector embeddings for use cases such as semantic searches, recommender systems, text classification, or text clustering. For more information, see llm.embed(options) or refer to About the Embedding Models in Generative AI in the Oracle Cloud Infrastructure Documentation.Note:Embedding methods have their own monthly free usage quota, separate from generate methods. If you use both in a month, you'll see two rows for the month, labeled by usage type. For more information, see View SuiteScript AI Usage Limit and Usage.
-
Streaming support: With the N/llm module's
generateTextStreamed(options)
method orevaluatePromptStreamed(options)
method, your code gets content as the LLM generates it, instead of waiting to receive it all at the same time. For more information, see llm.generateTextStreamed(options) and llm.evaluatePromptStreamed(options). -
New aliases for N/llm methods: You can use the following aliases in your N/llm module code instead of the method names:
-
llm.chat(options)
is an alias forllm.generateText(options)
. -
llm.executePrompt(options)
is an alias forllm.evaluatePrompt(options)
. -
llm.chatStreamed(options)
is an alias forllm.generateTextStreamed(options)
-
llm.executePromptStreamed(options)
is an alias forllm.evaluatePromptStreamed(options)
.
Promise versions are also available for these methods.
When aliases are available for methods, you'll see them listed in the main table of the method's help topic. For an example, see llm.generateTextStreamed(options).
-
Text Enhance
-
You can use Text Enhance to generate job posting details on the Job Requisition page. The Generate action is in the Enhance Text menu for the Posting Details field on the Job Requisition page. For more information, see Job Requisitions.
-
There's a new Text Enhance preference on the AI Preferences page. The Enable Text Enhance for External Roles setting lets you control whether users with external roles can use Text Enhance. To enhance security, this setting is disabled by default. Only users with internal roles can use Text Enhance unless you enable the setting. When you enable the setting, users with external roles can use Text Enhance. Standard external roles in NetSuite include Customer Center, Employee Center, NetSuite Support Center, NetSuite Support Center (Basic), Online Form User, Partner Center, Shopper, and Vendor Center. For more information, see Manage Text Enhance Preferences.