Supported Models for Generative AI in SuiteScript
Explore supported models for generative AI in SuiteScript, including capabilities like Retrieval-Augmented Generation and preambles.
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
| Enum | Value | Supported Capabilities | Notes |
|---|---|---|---|
ModelFamily.COHERE_COMMAND | cohere.command-a-03-2025 | Yes | - |
ModelFamily.COHERE_COMMAND_LATEST | cohere.command-a-03-2025 | Yes | - |
ModelFamily.GPT_OSS | openai.gpt-oss-120b | No | - |
ModelFamily.GPT_OSS_LATEST | openai.gpt-oss-120b | No | - |
Supported Capabilities Overview
- Retrieval-augmented generation (RAG): This feature allows you to provide documents with text content using the
options.documentsparameter. Such documents enhance the LLM's responses by providing additional context. The LLM will returnllm.Citationobjects, 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.preambleparameter, 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?
What permissions are required to utilize LLM models in SuiteScript?
Is there a limit on how many execution units can be used when implementing LLM features?
Are LLM features available in all versions of SuiteScript?
Was this article helpful?
More in SuiteScript
- N/https Module: Binary File Support in NetSuite 2025.2
NetSuite 2026.1 adds binary file support to N/https for streamlined file handling.
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
- Create-Form Operation in NetSuite 2026.1 REST Web Services
Create-form operation in NetSuite 2026.1 APIs streamlines record creation and enhances efficiency.
