Support for GPT-OSS Model in N/llm Module for NetSuite
The N/llm module in NetSuite now supports the GPT-OSS model, enhancing AI capabilities and text generation functionalities.
The N/llm module now offers support for the OpenAI GPT-OSS model. This enhancement allows developers to specify this model when utilizing the methods llm.generateText(options) and llm.generateTextStreamed(options), along with their promise-based counterparts.
Key Features of the GPT-OSS Model Support
- Enhanced AI Integration: The integration of the GPT-OSS model allows for improved interactions and responses from AI clients.
- Flexible Configuration: When calling the LLM methods, you can easily specify the model to adapt to specific requirements or preferences within your NetSuite applications.
Usage of llm.generateText and llm.generateTextStreamed
Both methods are designed to return the response from the language model for a given prompt. The following parameters are essential for these API calls:
options.prompt: The string prompt required for the LLM to generate text.options.chatHistory: Optional. An array of chat messages to qualify the context of the conversation.options.modelFamily: Optional. The model to be used, wherein you can refer to values from thellm.ModelFamilyenumeration.
In unlimited usage mode, the methods also allow for the passing of OCI configuration parameters, which can be set on the SuiteScript subtab of the AI Preferences page.
Important Considerations
- Ensure you have the necessary permissions set up to access and implement the GPT-OSS model in your scripts.
- Take advantage of the real-time capabilities offered by these methods, enabling your applications to provide seamless AI-driven responses.
This new support for the GPT-OSS model enhances the versatility of the N/llm module, making it an invaluable tool for developers looking to integrate advanced AI functionalities within their NetSuite environments. For more detailed information on parameters and response structures, refer to the official documentation for llm.generateText and llm.generateTextStreamed methods.
Key Takeaways
- The N/llm module supports the GPT-OSS model for better text generation.
- Developers can customize AI responses by specifying the model in API calls.
- Enhanced capabilities streamline integrations with NetSuite applications.
Frequently Asked Questions (4)
What are the primary methods available in the N/llm module for using the GPT-OSS model?
Do I need to configure any special settings for unlimited usage of the N/llm methods?
Can these N/llm methods be used in server scripts?
What is the governance for the llm.generateText method?
Was this article helpful?
More in AI
- Natural Language Queries in NetSuite AI
Updated for NetSuite 2026.1, featuring enhancements in natural language queries. The MCP Standard Tools SuiteApp offers enhanced AI-driven interaction with
- Support for Consolidated Reports and SuiteQL Tool
Updated to reflect the latest features added in NetSuite 2026.1. Starting with the latest updates in NetSuite 2026.1, NetSuite enhances reporting capabilities
- Intelligent Close Manager Portlet in NetSuite
The Intelligent Close Manager portlet offers a centralized view for managing tasks and exceptions in NetSuite, enhancing close processes.
- New Role Setup for NetSuite AI Connector Service in 2026.1
Updated to include 2026.1 details on role setup and prerequisites for 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