Solution Development

MSO - LLM Content

Intended audience: analysts developers administrators

AO Platform: 5.0


Overview

This section contains the configuration of LLM Content used by Easy Answers when configured for LLM Use. There are two sections to the MSO and MSO Property LLM Content:

  • Priority and LLM Descriptions

  • Prompt Instructions


User Actions

  • Add New (+) - adds a new MSO property with which Priority and LLM Description can be associated.

  • Delete - deletes all or individual MSO properties from the list.

MSO Options Menu

  • Generate LLM Content - opens a dialog to allow the Priority and LLM Descriptions for the current MSO and MSO Properties to be generated.


LLM Content for MSO and MSO Properties

Priority and LLM Descriptions

The Priority and LLM Descriptions can be manually created/edited in the LLM Content page, but also generated from the Ontology > Advanced > Generate LLM Content menu for all MSOs, or the MSO > Advanced > Generate LLM Content for the current MSO. Once generated, the MSO and all MSO Properties will show the default Priority (Low) and LLM Descriptions.

image-20260204-104943.png
Screenshot 2024-12-31 at 17.38.39.png

Properties

Label

UI Widget

Default

Description

Priority

Dropdown


Once the MSO and MSO Property Priority have been automatically configured via the Generate LLM Content process, the user can manually set the Priority according to the following options:

  • Low - all MSOs (and MSO Properties) that will generally be used for answering questions in Easy Answers should have this LLM Priority level. This should be set for all MSOs with Sourcing.

  • None - can be applied to MSOs (and MSO Properties) that are rarely needed (or considered secondary). MSOs assigned the None Priority will be indexed in the Ontology graph database, ArangoDB, and hence used if asking questions in Easy Answers, but only for exact word matches.

  • Never - only use for stale/backup MSOs (and MSO Properties), or MSOs not yet used. MSOs assigned the Never Priority will not be indexed in ArangoDB and hence will not be considered when asking questions in Easy Answers.

Description

Multi-Line Text Field


An LLM Description that is generated by the associated LLM to describe in verbose terms what the MSO (and MSO Properties) are about. The initial LLM Description is typically auto-generated, but can be edited for added clarity.

Add Unique Values to Context

ON/OFF Toggle

OFF

Only available for MSO Properties.

Data Type

Icon


The Data Type of the MSO Property. Only available for MSO Properties.

Name

Text Field


Name of MSO Property. Only available for MSO Properties.


Prompt Instructions

A Prompt Instruction is a short instruction, written in plain English, that tells Easy Answers how to understand a question. Think of it as a business rule you hand to the AI — a definition, or a hint about what a word means in your business. The AI reads it while it turns the question into a query. 

A prompt is guidance, not code. Easy Answers still finds the data and writes the SQL itself. Your prompt only shapes how it does that. Because of this, a good prompt works for many ways of asking the same thing — not just one exact question. 

See Best Practice > Configuring Ontology Prompts - for a Best Practice Guide on Prompt Instructions.


Properties

Label

UI Widget

Default

Description

Prompt Instruction Type

Dropdown


First, add a Prompt Instruction Type using the “+” icon, including:

  • Template Question Intent Generation - Generates the question intent stored and vectorized on ao-semantic-templates and used to retrieve matching templates.

  • Text2SQL - SQL Generator to understand natural language text and convert it to Semantic SQL Queries.

Secondly, enter one or more Prompt Instructions for each type using the following configuration properties.

  • Active

ON/OFF Toggle

Enable

If enabled, the configured Prompt Instruction will be active in the system. Disable to make it inactive!

  • Name

Text Field


Enter a meaningful Name for the Prompt Instruction.

  • Task

Dropdown


Select from the following Tasks for the Prompt Instruction:

  • Add Default Criteria

  • Ambiguity Detection

  • Common Semantic SQL Corrector

  • Custom Query Functions

  • Post Processing

  • Reasoning and Query Generator (default)

  • Instruction

Multi-Line Text Field


Provide the Prompt Instruction as relating to the Task Property. Use the pencil icon to open a pop-up dialog to see a larger text box.

  • Word

Dropdown


Add one or more words that will trigger the use of the Prompt Instruction. Such words will be added to the Prompt BoW on the Linguistics page for the MSO Property.

  • Field Mapping

Dropdown


The Repeater Section is used to select one or more MSO Field Properties from primary or connected MSOs for which the Prompt Instruction will be associated.







Contact App Orchid | Disclaimer