Back to Prompts Library Reference and procedures for managing Custom prompts in the Prompts Library.Documentation Index
Fetch the complete documentation index at: https://koreai-v2-home-nav.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Add a Custom Prompt
Prerequisites
Integrate a pre-built or custom LLM before creating a prompt. See LLM Integration.Steps
- Go to Generative AI Tools > Prompts Library.
- Click + New Prompt (top right).
-
Enter the Prompt Name, then select the Feature and Model.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=1efb38773dce44632cbedd3d55fbece6)
-
The Configuration section (endpoint URL, auth, headers) is auto-populated from the model integration and is read-only.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=d888420a9868401fe8d6ab0ba9b8cb5c)
-
In the Request section, create a prompt or import an existing one.
To import an existing prompt:.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=fe8312be8e50e65e0b61f470f040d556)
-
Click Import from Prompts and Requests Library.

-
Select the Feature, Model, and Prompt. Hover and click Preview Prompt to review before importing.
You can interchange prompts between features.
- Click Confirm to import the prompt into the JSON body.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=5101290e0da9d667aadd6f5292b2e9be)
-
Click Import from Prompts and Requests Library.
-
(Optional) Toggle Stream Response to enable streaming. Responses are sent incrementally in real time instead of waiting for the full response.

- Add
"stream": trueto the custom prompt when streaming is enabled. The saved prompt displays a “streaming” tag. - Enabling streaming disables the “Exit Scenario” field. Streaming applies only to Agent Node and Prompt Node features using OpenAI and Azure OpenAI models.
-
Fill in the Sample Context Values and click Test. If successful, the LLM response is displayed; otherwise an error appears.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=41d677c79f4bc03e5029e30ae450bfc7)
-
Map the response key: In the JSON response, double-click the key that holds the relevant information (e.g.,
content). The Platform generates a Response Path for that location. Click Save.
-
Click Lookup Path to validate the path.

-
Review the Actual Response and Expected Response:
-
Green (match): Click Save. Skip to step 12.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=b625db3d253e18c3716d09b49a35c1e7)
-
Red (mismatch): Click Configure to open the Post Processor Script editor.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=19fd9fef183d45e1fc84546296429701)
-
Enter the Post Processor Script and click Save & Test.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=5c41d8dbc52329605bb90a1111e31e8f)
-
Verify the result, then click Save. The responses turn green.
.png?fit=max&auto=format&n=VOeRfOxMxOM6PMEQ&q=85&s=a4d341422431631ef83b0703b095930a)
-
Enter the Post Processor Script and click Save & Test.
-
Green (match): Click Save. Skip to step 12.
-
(Optional) If Token Usage Limits are enabled for your custom model, map the token keys for accurate tracking:
- Request Tokens key:
usage.input_tokens - Response Tokens key:
usage.output_tokens
Without this mapping, the Platform can’t calculate token consumption, which may lead to untracked usage and unexpected costs. - Request Tokens key:
- Click Save. The prompt appears in the Prompts Library.