What's New in NetSuite AI

NetSuite continues to add and enhance features that employ artificial intelligence (AI) and machine learning (ML). Click the following links for details about changes to NetSuite AI and ML features since the last major NetSuite release:

Generative AI Availability Updates

Text Enhance, SuiteScript Generative AI APIs, and Prompt Studio are now available in additional locations:

  • Hong Kong

  • Philippines

  • Singapore

See Generative AI Availability in NetSuite for more information.

SuiteScript Generative AI APIs

The N/llm module was recently updated with the following new capabilities. See N/llm Module for more information.

  • Retrieval-augmented generation (RAG) support: You can provide source documents to the large language model (LLM) when calling llm.generateText(options). The LLM uses information in the provided documents to augment its response. The LLM also returns citations in its response that identify the 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 to use in your SuiteScript application for 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 a separate monthly free usage quota from generate methods. If you use both during a month, you will see two rows for the month, labeled by usage type. For more information, see View SuiteScript AI Usage Limit and Usage.

  • Streaming support: By using the N/llm module's generateTextStreamed(options) method or evaluatePromptStreamed(options) method, your code can receive content as the LLM generates its response, rather than waiting to receive the content all at the same time. For more information, see llm.generateTextStreamed(options) and llm.evaluatePromptStreamed(options).

  • Image file support: You can send an image to the LLM through your SuiteScript code, ask questions about the image, and get text outputs, such as:

    • Advanced image captions

    • Detailed description of an image

    • Answers to questions about an image

    • Information about charts and graphs in an image

    Image files are supported using the options.image parameter of the llm.generateText(options) and llm.generateText.promise(options) methods. See llm.generateText(options) for details.

    Image file support is only available for the Meta Llama 3.2 model (meta.llama-3.2-90b-vision-instruct). This model is not available for all OCI Generative AI service regions. For more information about the Meta Llama 3.2 model (meta.llama-3.2-90b-vision-instruct) and its availability, refer to Pretrained Foundational Models in Generative AI in the Oracle Cloud Infrastructure Documentation and expand the Chat Models section.

  • 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 for llm.generateText(options).

    • llm.executePrompt(options) is an alias for llm.evaluatePrompt(options).

    • llm.chatStreamed(options) is an alias for llm.generateTextStreamed(options)

    • llm.executePromptStreamed(options) is an alias for llm.evaluatePromptStreamed(options).

    Promise versions are also available for these methods.

    When aliases are available for methods, the aliases are documented as a row in the main table of the method's help topic. For an example, see llm.generateTextStreamed(options).

Text Enhance

  • NetSuite users can use Text Enhance to generate job posting details on the Job Requisition page. The Generate action is available from the Enhance Text menu for the Posting Details field on the Job Requisition page. For more information, see Job Requisitions.

  • A new preference for Text Enhance is available in the AI Preferences page. The preference, Enable Text Enhance for External Users, gives you control over granting Text Enhance capabilities to users with external roles. To enhance security, this setting is disabled by default. Only users with internal roles have access to Text Enhance unless you enable the setting. When the setting is enabled, users with external roles have access to 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.

Related Topics

General Notices