Supported Models for Generative AI in SuiteScript

Explore supported models for generative AI in SuiteScript, including capabilities like Retrieval-Augmented Generation and preambles.

·2 min read·6 views·View Oracle Docs

The following table lists the models supported when using the llm.generateText(options) and llm.generateTextStreamed(options) functions, along with their associated capabilities.

Supported Models and Capabilities

EnumValueSupported CapabilitiesNotes
ModelFamily.COHERE_COMMANDcohere.command-a-03-2025Yes-
ModelFamily.COHERE_COMMAND_LATESTcohere.command-a-03-2025Yes-
ModelFamily.GPT_OSSopenai.gpt-oss-120bNo-
ModelFamily.GPT_OSS_LATESTopenai.gpt-oss-120bNo-

Supported Capabilities Overview

  • Retrieval-augmented generation (RAG): This feature allows you to provide documents with text content using the options.documents parameter. Such documents enhance the LLM's responses by providing additional context. The LLM will return llm.Citation objects, signifying the source of the information it used. More information about RAG can be found in the Oracle Cloud Infrastructure Documentation.
  • Preambles: Initial context can be given to the LLM through the options.preamble parameter, helping guide its responses better. For details on using a preamble, refer to the Oracle Cloud Infrastructure Documentation.

Conclusion

These models and capabilities enrich the functionality of the SuiteScript generative AI APIs, enabling more flexible and informed responses from the LLM according to user-defined parameters.

Source: This article is based on Oracle's official NetSuite documentation.

Key Takeaways

  • The table outlines models supported by SuiteScript generative AI APIs.
  • RAG enhances responses by incorporating additional document context.
  • Preambles help set context for the LLM's generation process.

Frequently Asked Questions (4)

Does the Retrieval-Augmented Generation (RAG) feature work with all LLM models in SuiteScript?
No, the Retrieval-Augmented Generation (RAG) feature is only supported by specific models, such as `cohere.command-a-03-2025`. Not all models can utilize this capability.
What permissions are required to utilize LLM models in SuiteScript?
The article does not specify particular permissions required for using LLM models in SuiteScript. It's advisable to consult with your NetSuite administrator to ensure proper access rights.
Is there a limit on how many execution units can be used when implementing LLM features?
Yes, there is a governance limit of 100 units for utilizing LLM features in NetSuite. It's important to plan your script execution to stay within this limit.
Are LLM features available in all versions of SuiteScript?
No, certain features and supported models are only available in specific SuiteScript versions, such as 2024.1 and onward. Be mindful of the version when implementing LLM capabilities.
Source: Values Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in SuiteScript

View all SuiteScript articles →