Setting model instructions context for natural language queries

Setting model instructions context for natural language queries

This documentation is for Kyvos 2026.6.x. To view documentation for other Kyvos versions, click here.

This documentation is for Kyvos 2026.6.x. To view documentation for other Kyvos versions, click here.

✅ Enterprise: AWS, Azure, GCP, and On-Premises ✅ Marketplace: AWS, Azure, and GCP ✅ SaaS: AWS, Azure, and GCP ✅ Single Node Installation (SNI)

Overview

This section explains how to set the context for Natural Language Queries (NLQ) in Kyvos to improve query interpretation and generate more accurate insights based on the user’s business terminology and data context.

Setting context for natural language queries

To set the context for natural language queries, perform the following steps.

  1. From the Toolbox, click Semantic Models.

  2. Select a semantic model from the list. 

  3. Click the AI Settings tab and then select the Model Instructions under the Context section.

  4. For the Business Context, describe the business purpose and usage of this semantic model. Adding this context enables Copilot to create more precise and relevant metadata.

    image-20260629-060859.png

     

  5. Click Ask Copilot. The Ask Kyvos Copilot dialog is displayed.

    image-20260629-060944.png
  6. On the dialog, complete the following information:

    1. In the Additional Input Prompt field, enter any specific instructions or guidance to help generate the business context (for example, business purpose, domain details, or intended usage).

    2. Click Generate to allow Kyvos Copilot to create the Semantic Model Business Context.

    3. Review the generated content, including the Business Purpose and Sample Questions.

    4. (Optional) Click Clear to remove the input prompt and enter new instructions.

    5. Make any necessary edits to the generated business context directly in the editor.

    6. Review the information.

    7. Click Accept to apply the generated business context to the semantic model. You can also click Cancel to discard the changes and exit without saving.

  7. Specify key insights instructions for generating natural language summaries in Summary Instructions. This tailors summaries to business needs and improves relevance.

  8. To generate relevant follow-up questions, you must add the summary instructions box. Write your summary instructions between:
    <FOLLOW_UP_QUES_RULES>
    </FOLLOW_UP_QUES_RULES>
    Sample summary instructions

  9. Click Save. The AI context for the semantic model is set.

<FOLLOW_UP_QUES_RULES> Below are the columns and their dependent columns for generating follow-up questions: For Sales column, dependent columns are: Profit, Discount, Product Category For Product Category column, dependent columns are: Product Sub-Category, Product Names For Product Sub-Category column, dependent columns are: Country, State, Shipping Modes, Discount For Shipping Modes column, dependent columns are: Discount, Segment Follow-up Question Generation Rules: Generate only 3 follow-up questions. Each follow-up question must include only one dependent column. Follow-up questions should be context-aware and based on the previous response. Questions should help users drill down into patterns and move toward root cause analysis. Keep questions simple, clear, and easy to understand for end users. Do not generate generic or unrelated questions. Follow-up questions must align with the visualization and data shown. </FOLLOW_UP_QUES_RULES> between <follow up questions> to </follow up questions>. <image>

Copyright Kyvos, Inc. 2026. All rights reserved.