Prompt Studio
Prompt Studio lets you manage generative artificial intelligence (AI) prompts and Text Enhance actions in NetSuite. Generative AI prompts are the instructions given to a large language model (LLM). For Text Enhance, prompts give the LLM detailed instructions for completing a Text Enhance action. In SuiteScript code, the SuiteScript Generative AI APIs (N/llm module) methods send prompts to the LLM and get its responses.
With Prompt Studio, you can:
-
Override standard Text Enhance actions for your company's account. When you customize a system Text Enhance prompt, your version replaces the system prompt for the action. You can override Text Enhance actions in the Enhance Text button menu or the partial Text Enhance menu.
-
Create custom Text Enhance actions and their prompts for your company's account. You can add custom Text Enhance actions to the Enhance Text button menu or to the partial Text Enhance menu.
-
Create and manage generic prompts for your SuiteScript code. Instead of hard coding prompts in your SuiteScript code, you can reference a prompt by its internal ID or script ID. For more information about the N/llm module methods that use Prompt Studio prompts, see llm.evaluatePrompt(options) and llm.evaluatePrompt.promise(options).
-
Create and manage AI-related SuiteCloud Development Framework (SDF) custom objects. Prompt Studio supports two SDF custom objects:
prompt
(an object that represents a prompt) andtextenhanceaction
(an object that represents a Text Enhance action). You can download these SDF custom objects as XML definitions and use them in your SDF projects. For more information, see Prompts as XML Definitions and Text Enhance Actions as XML Definitions.
For more information about using Prompt Studio, see Manage Prompts and Manage Text Enhance Actions.
You can use Prompt Studio only if your NetSuite account supports generative AI. For more details, see Generative AI Availability in NetSuite.