Configure AI Prompt for Copilot for Agents KB Query Extraction
You can use NiCE CXone GenAI Prompts to control the prompt that Copilot for Agents uses to perform KB query extraction. This lets you guide how Copilot for Agents interprets the conversation and formulates knowledge base search queries, including the level of detail, language, and any special instructions you want applied.
Once you have completed your prompt configuration, you can import or enter up to five transcripts to test the settings against. Copilot for Agents uses your custom prompt to extract KB queries from each transcript so you can preview how well the configuration surfaces the right intents and topics.
If you are not satisfied with the queries generated in the test, you can continue to refine your settings and prompt instructions until you are satisfied. After that, you can publish the prompt to make it available for selection within the Copilot for Agents profile on the Copilot for Agents Config page.
All users can now open the LLM Model dropdown. Users with an Prompt Editor Advanced license can select any model in the list; other users are limited to standard models. The list itself is grouped by standard and premium models, with models verified by NiCE CXone shown first and the rest listed alphabetically.
NiCE Default is available as an LLM Model option. It represents the model NiCE CXone currently recommends for that specific prompt type. If a prompt template only supports one model, NiCE Default is the only option shown and the dropdown is disabled. If a template supports multiple models, NiCE Default appears alongside them as a selectable choice.
If the LLM model currently selected for a profile is scheduled for retirement, NiCE CXone displays a warning next to the LLM Model dropdown stating that the model will retire in a set number of days and prompting you to update to a supported model.
When a model you use is closer to its retirement date, NiCE CXone also displays an LLM Update dialog when you open the affected profile. The dialog states the date the model switches to retention mode, after which the model is no longer accessible, and reminds you to update the LLM and test and publish all affected profiles before that date. Select Don't show this message again to suppress the dialog for that profile, or click OK to close it.
If a model reaches its retirement date and you have not selected a different model, NiCE CXone automatically switches the profile to NiCE Default. Test and publish the profile after this switch to confirm the output still meets your requirements.
This table shows the LLMs you can choose from, along with a rating from 1-10 for the speed, accuracy, complexity handling, and hallucination resistance. 1 is always the lowest and 10 is always the highest score. A high score is desirable for speed, accuracy, and complexity handling, but not for cost and hallucination resistance.
-
This table lists only the LLM models that NiCE CXone has verified for this use case. The LLM Model dropdown in the application may show additional models that have not yet been verified by NiCE CXone; in the dropdown, an
icon next to a model indicates it has been verified by NiCE CXone. You can select any listed model, but if you choose one that isn't in this table, testing that model for your specific use case is your responsibility. -
NiCE Default is not a fixed model — it points to whichever model NiCE CXone currently recommends for this prompt type, and that underlying model may change over time. For this reason, NiCE Default isn't listed as a separate row in the table below.
-
Additionally, profiles previously defaulting to Nova Pro may now display NiCE Default instead, with no functional change.
| LLM Model | Speed | Accuracy | Complexity Handling | Hallucination resistance | notes |
|---|---|---|---|---|---|
| Nova Micro | 10 | 6 | 5 | 6 | Lightweight, low latency; limited reasoning. |
|
Nova Lite |
9 |
7 | 6 | 7 | Higher intelligence than Micro; still lightweight and fast. |
| Nova Pro | 8 | 8 | 8 | 8 | Good balance of intelligence, reasoning, and speed. |
| Claude 4.5 Haiku | 8 | 8 | 7 | 8 | Strong accuracy and reasoning; suitable for efficiency-focused use cases. |
| Claude 4.5 Sonnet | 7 | 9 | 9 | 9 | Flagship-level intelligence and reasoning. |
| Claude 3 Haiku (Deprecated) | 8 | 7 | 6 | 7 | Reliable and efficient for its time. Included for consistency, but other models are likely a better choice for modern applications. |
| Claude 3.5 Haiku (Deprecated) | 8 | 8 | 7 | 8 | Strong accuracy and reasoning; suitable for efficiency-focused use cases. |
| Claude 3.5 V2 Sonnet (Deprecated) | 7 | 9 | 9 | 9 | Flagship-level intelligence and reasoning. |
Complete each of these tasks in the order given.
Launch GenAI Prompts
-
Click the app selector
. -
Under General, select AI Studio.
-
In the AI Studio left navigation, select GenAI Prompts.
Create Prompt Profile
Required permissions: GenAI Prompts, Prompt Access Edit
You will also need a license for NiCE CXone Copilot for Agents and the KB Query Extraction feature enabled.
Each flow comes with one default profile. You can create a custom prompt profile either by using a blank form or by copying an existing prompt and making edits. As you're working in the profile, it automatically saves for you only. Others cannot see the new profile, or edits you're making to an existing profile, until you click Publish Prompt. Profiles are also unavailable to select as the live prompt until they have been published.
If you create a new profile but don't publish it within 30 days of the most recent edit, the profile settings on the Prompt Configuration tab revert to their defaults. If you edit an existing profile but don't publish within 30 days of the most recent edit, changes on the Prompt Configuration tab revert to the settings specified in the latest published version.
-
In the Profiles tree expand Copilot for Agents > KB Query Extraction.
-
Create a new profile. You can do this in one of two ways:
-
Create a new, blank profile. To do so, click the plus icon
next to the KB Query Extraction folder. The new profile appears at the bottom of the list. -
Duplicate an existing profile.
-
Click the stacked dots icon
next to the existing profile you want to copy and select Duplicate. -
Rename the copy by locating it at the bottom of the KB Query Extraction profiles, clicking the stacked dots icon
, and selecting Rename. Enter the new name for the profile and click the check mark
to save it.
-
-
-
On the Prompt Configuration tab, adjust the values for these fields as needed:
-
What is the reasoning language?
-
What is the query language?
-
What is the tenant terminology and context?
-
What knowledge base scope?
Learn more about fields in this step
Field Details Reasoning Language Specifies the language used by the model to analyze the conversation and identify intent and key concepts. This setting affects internal reasoning only and does not control the language of the retrieved articles or generated responses.
It is recommended to choose the primary language used in customer or agent conversations.
Query Language Defines the language in which extracted queries are formulated before being submitted to the Knowledge Base. This setting determines which articles are most relevant during retrieval.
It is recommended to align this language with the language used to author Knowledge Base content.
Tenant terminology and context, also called tenant details Supplies tenant-specific language, acronyms, and contextual information that the model uses when forming Knowledge Base queries. Tenant details help normalize domain terms and reduce ambiguity during query extraction.
It is recommended to use product names, feature names, internal acronyms, abbreviations, brand-specific, or industry-specific terminology.
Knowledge base scope Controls which Knowledge Base sources are searched when executing extracted queries. Restricting the scope improves relevance by limiting results to applicable content.
It is recommended to select only the Knowledge Bases required for this prompt’s use case.
Broader scopes increase coverage but may reduce relevance.
-
-
Click Publish Prompt.
Add Transcripts for Testing
Required permissions: Launch GenAI Prompts, Prompt Access Edit
Import a Transcript
-
Click the Transcripts tab.
-
Under the Transcript Options area, in the Type of Transcript File field, select Segment.
-
Enter the segment ID of the transcript you want to use in the What are the segment IDs for the transcripts? text box. Click the add
button. The new transcript appears in the table below the text box. -
Click the paper and pencil icon
to view and edit the imported transcript. The transcript shows dialog from the agent in purple and the contact in blue. -
Modify the transcript as needed. You can take any of the following actions:
-
Click + Agent Phrase or + Client Phrase at the top of the window to add a new dialog box of a certain type. The new agent or contact dialog box appears at the bottom of the transcript. Enter the dialog for the role you selected.
-
Add another dialog box of the same type (agent or client) by selecting the box above where you want the new box and clicking the add dialog box icon
. The new box appears below the box you selected. Enter the dialog you want and then click the save icon
. -
Edit a dialog box by selecting the box you want to change and clicking the pencil icon
. Make the changes you need and then click the save icon
. -
Move dialog boxes higher or lower in the transcript by selecting the box and clicking the up icon
or the down icon
until the box is where you want it. -
Delete a dialog box by selecting the box and clicking the trash can icon
. -
Remove all dialog by clicking Clear in the top right corner of the window.
-
-
Continue to add agent and contact dialog until you have completed the transcript.
-
Click the Back to Transcript List icon
to return to the table of transcripts. -
Continue adding the transcripts you want to test. Testing the prompt will use all of the transcripts you have included in the table.
Manually Enter a Transcript
-
Click the Transcripts tab.
-
For the Type of Transcript File field, select New Transcript.
-
Click Create New Transcript. A new transcript appears in the table below.
-
Click the paper and pencil icon
. -
Modify the new transcript by using the following actions as needed:
-
Click + Agent Phrase or + Client Phrase at the top of the window to add a new dialog box of a certain type. The new agent or contact dialog box appears at the bottom of the transcript. Enter the dialog for the role you selected.
-
Add another dialog box of the same type (agent or client) by selecting the box above where you want the new box and clicking the add dialog box icon
. The new box appears below the box you selected. Enter the dialog you want and then click the save icon
. -
Edit a dialog box by selecting the box you want to change and clicking the pencil icon
. Make the changes you need and then click the save icon
. -
Move dialog boxes higher or lower in the transcript by selecting the box and clicking the up icon
or the down icon
until the box is where you want it. -
Delete a dialog box by selecting the box and clicking the trash can icon
. -
Remove all dialog by clicking Clear in the top right corner of the window.
-
-
Continue to add agent and contact dialog until you have completed the transcript.
-
Click the Back to Transcript List icon
to return to the table of transcripts. -
Continue adding the transcripts you want to test. Testing the prompt will use all of the transcripts you have included in the table.
Test and Publish the Prompt
Required permissions: Launch GenAI Prompts, Prompt Access Edit
After you have configured the prompt settings and added a transcript, you can test your prompt with that transcript. This will help you see what the AI-generated text looks like and gives you a chance to refine your settings. Publishing the prompt makes it available both for others to see and for selection in Copilot for Agents profiles.
-
When you are happy with your transcript, click Test Response.
-
Review the response generated for the customized prompt and transcript you provided. If you are not satisfied with the result, adjust the prompt configuration settings and try again. Continue testing and refining your settings until the extracted queries return the expected Knowledge Base results.
-
Click Publish Prompt.
Select the Prompt in Copilot for Agents
Once you have published the prompt profile, you can select it in the Copilot for Agents Config page profile.
- Click the app selector
and select General. - From the left menu, navigate to AI Studio > Profiles.
- From the list of Copilot profiles on the left, select the Copilot for Agents profile you want to apply the KB Query Extraction prompt profile to. If you don't have one yet, click Add Copilot Profile and follow these instructions to create one.
- On the Knowledge tab, scroll down to the CXone Knowledge Settings section and from the KB Query Extraction Promptdrop-down, select the prompt profile you want to use.
- Click Save.