Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is a list of best practices you must follow while designing a semantic model to get better clarity in response:

  1. Ensure that you provide proper tags and descriptions to provide for a clear business context. Column level description should be leveraged to provide information like:

    1. Sample 2-3 values for domain-specific attributes.

    2. Defining special date time aspects like Holiday months, Weekdays/Weekends other than usual ones, Business season, etc.

    3. Some special instructions you want Large Language Model (LLM) to follow, like not using specific columns for certain purposes. For example, order priority is used to identify returned orders.

  2. Always have complete date attribute attributes in the semantic model along with and a predefined hierarchy.

  3. Hide all unnecessary Levels, Attributes, and Measures not required for conversational analytics.

  4. Special characters should not be present in the semantic model’s name or tags and descriptions of the semantic model.

  5. Ensure that you clearly define the Keys field for level and attributes for which you want a different sort order than the order of the display field.

  6. The clearer the context of the question, the better the response will be. For instance, instead of asking, "Show sales for 143-435-564," you should ask, "Show sales for product ID 143-435-564."

  7. Break down complex questions into smaller, more specific follow-up questions. For example, <>

  8. Refer to the metadata of a semantic model to better frame your questions in alignment with the model's capabilities and the type of information it can provide.To generate embedding in KYVOS_COLUMN_EMBEDDING_DETAILS table, you must save the semantic model.  

Considerations

  • Kyvos copilot leverages Large Language Model (LLM) to convert natural language to SQL, which might sometimes produce inaccurate generation. Always verify the answer by checking the information in the answer. In case of an error or incorrect response, try regenerating the answer by re-submitting the question.

  • Copilot can't make layout changes. For example, if you tell Copilot to resize the visuals or to align all the visuals perfectly, it won't work.