Supported Models for Generative AI in SuiteScript
Updated for NetSuite 2026.2 with new models and capabilities for generative AI. The following table lists the models supported when using the
The following table lists the models supported when using the llm.generateText(options) and llm.generateTextStreamed(options) functions, along with their associated capabilities. Starting in NetSuite 2026.2, additional models and capabilities have been introduced to enhance functionality.
Supported Models and Capabilities
| Enum | Value | Supported Capabilities | Notes |
|---|---|---|---|
ModelFamily.COHERE_COMMAND | cohere.command-a-03-2025 | Yes | Cohere Command A is the default model used when the options.modelFamily parameter is omitted in llm.generateText(options) or llm.generateTextStreamed(options). |
ModelFamily.COHERE_COMMAND_LATEST | cohere.command-a-03-2025 | Yes | - |
ModelFamily.COHERE_COMMAND_VISION | cohere.command-a-vision | No | - |
ModelFamily.COHERE_COMMAND_VISION_LATEST | cohere.command-a-vision | No | - |
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 Offered Pretrained Foundational Models in Generative AI in the Oracle Cloud Infrastructure Documentation. - Image processing: You can provide an image (as a file.File object) using the
options.imageparameter. You can ask questions about the image and receive responses that can include advanced image captions, a detailed description of the image, information about charts and graphs in the image, and so on.
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.
- Image processing allows for direct inquiries about images.
Frequently Asked Questions (4)
Which model is used by default if no model is specified in the llm.generateText function?
Are there capabilities that are not supported by all models?
What is the purpose of using the options.documents parameter in SuiteScript's generative AI functions?
Can the ModelFamily.GPT_OSS model handle image processing capabilities?
Weekly Update History (1)
Updated the following topics to add the Cohere Command A Vision model: llm.ModelFamily llm.generateText(options) llm.generateTextStreamed(options) N/llm Module Model Parameter Values by LLM
View Oracle DocsWas 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.
- 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.
- 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.
- 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