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

·2 min read·94 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. Starting in NetSuite 2026.2, additional models and capabilities have been introduced to enhance functionality.

Supported Models and Capabilities

EnumValueSupported CapabilitiesNotes
ModelFamily.COHERE_COMMANDcohere.command-a-03-2025YesCohere 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_LATESTcohere.command-a-03-2025Yes-
ModelFamily.COHERE_COMMAND_VISIONcohere.command-a-visionNo-
ModelFamily.COHERE_COMMAND_VISION_LATESTcohere.command-a-visionNo-
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 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.image parameter. 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?
If no model is specified in the llm.generateText(options) or llm.generateTextStreamed(options) functions, the default model used is 'cohere.command-a-03-2025'.
Are there capabilities that are not supported by all models?
Yes, not all models support all capabilities. For example, only certain models support retrieval-augmented generation (RAG) and preambles, while image processing is linked to specific models.
What is the purpose of using the options.documents parameter in SuiteScript's generative AI functions?
The options.documents parameter is used for retrieval-augmented generation (RAG), allowing the LLM to incorporate additional document context into its responses, and indicating the source with llm.Citation objects.
Can the ModelFamily.GPT_OSS model handle image processing capabilities?
No, the ModelFamily.GPT_OSS model does not support image processing capabilities according to the provided information.

Weekly Update History (1)

SuiteScriptupdated

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 Docs
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 AI

View all AI articles →