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.
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 AI
- Prompt Studio: Generative AI Management in NetSuite 2026.1
Prompt Studio in NetSuite 2026.1 enhances generative AI management, enabling customization of prompts and Text Enhance actions.
- SuiteCloud Agent Skills for AI Development in NetSuite 2026.1
SuiteCloud Agent Skills enhance development workflows with AI-driven guidance in NetSuite 2026.1, improving automation and process standardization.
- N/llm Module: Usage Limits and Additional Requests in NetSuite
In NetSuite 2026.1, the N/llm module sets usage limits and options for additional requests via Oracle Cloud.
- Required Features and Permissions for NetSuite AI Connector
Ensure Server SuiteScript and OAuth 2.0 are enabled for secure usage of the NetSuite AI Connector Service.
Advertising
Reach AI Professionals
Put your product in front of NetSuite experts who work with AI every day.
Sponsor This Category