> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-agentplatform-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Engine Tuning

<Badge icon="arrow-left" color="gray">[Back to NLP Topics](/ai-for-service/automation/natural-language/nlp-topics)</Badge>

Configure NLP engine thresholds and advanced settings per language under **Natural Language > NLU Config > Engine Tuning**.

For per-engine configuration details:

* [Fundamental Meaning Engine](/ai-for-service/automation/natural-language/training/fundamental-meaning)
* [Machine Learning Engine](/ai-for-service/automation/natural-language/training/machine-learning-engine)
* [Knowledge Graph Training](/ai-for-service/automation/knowledge-ai/knowledge-graph-training)
* [Ranking and Resolver](/ai-for-service/automation/natural-language/training/ranking-and-resolver)

***

## Advanced NLP Configurations

<Warning>Default settings are appropriate for most use cases. Change only if you understand the impact — incorrect values can degrade performance.</Warning>

Go to **Natural Language > NLU Config > Engine Tuning > Advanced NLP Configurations**.

### ML Engine Settings

| Configuration                                   | Description                                                   | Valid Values                             | Notes                                         |
| ----------------------------------------------- | ------------------------------------------------------------- | ---------------------------------------- | --------------------------------------------- |
| **Split Compound Words**                        | Splits compound words into stems before processing.           | Enable / **Disable** (default)           | German language only.                         |
| **None Intent**                                 | Creates a placeholder intent to reduce ML false positives.    | **Enable** (default) / Disable           |                                               |
| **Epochs**                                      | Training iterations for neural network.                       | 20-300 (increments of 10; default: 20)   | MLP-BOW, MLP-WordEmbeddings, LSTM, CNN only.  |
| **Batch Size**                                  | Training samples per batch.                                   | 10-30 (increments of 5; default: 10)     | MLP-BOW, MLP-WordEmbeddings, LSTM, CNN only.  |
| **Learning Rate**                               | Controls weight adjustment vs. loss gradient.                 | 1e-4 to 1e-3 (default: 1e-3)             | MLP-BOW, MLP-WordEmbeddings, LSTM, CNN only.  |
| **Dropout**                                     | Regularization to prevent overfitting.                        | 0-0.8 (increments of 0.1; default: 0)    | MLP-BOW, MLP-WordEmbeddings, LSTM, CNN only.  |
| **Vectorizer**                                  | Feature extraction technique.                                 | **count** (default) / tfidf              | MLP-BOW only.                                 |
| **Maximum Sequence Length**                     | Length of training samples / user input.                      | 10-30 (increments of 5; default: 20)     | MLP-WordEmbeddings, LSTM, CNN only.           |
| **Embeddings Type**                             | Feature extraction method.                                    | generated / **random** (default)         | MLP-WordEmbeddings, LSTM, CNN only.           |
| **Embeddings Dimensions**                       | Dimensions used in featurization.                             | 100-400 (increments of 50; default: 300) | MLP-WordEmbeddings, LSTM, CNN only.           |
| **K Fold**                                      | K parameter for cross-validation.                             | 2-10 (default: 2)                        |                                               |
| **Fuzzy Match**                                 | Enables fuzzy matching for intent identification.             | **Enable** (default) / Disable           |                                               |
| **Handle Negation**                             | Handles negated words in intent identification.               | **Enable** (default) / Disable           |                                               |
| **Ignore Multiple Occurrences**                 | Disregards word frequency during vectorization.               | **Enable** (default) / Disable           | MLP-BOW only.                                 |
| **Entity Placeholders in User Utterances**      | Replaces entity values in utterances with placeholders.       | **Enable** (default) / Disable           | MLP-BOW only.                                 |
| **Sentence Split**                              | Splits sentences before intent detection.                     | **Enable** (default) / Disable           |                                               |
| **Multiple Intent Models**                      | Separate ML model per primary intent (including sub-intents). | Enable / **Disable** (default)           |                                               |
| **Use only Tagged Utterances for NER Training** | NER model trains only on utterances with NER annotations.     | **Enable** (default) / Disable           |                                               |
| **Neurons in Hidden Layer**                     | Number of hidden-layer neurons.                               | 0-1000                                   | Standard Network Type only.                   |
| **Softmax Temperature**                         | Controls how confidently ML identifies the winning intent.    | 0-100                                    | Non-Standard Network Types only.              |
| **Spell Correction in ML**                      | Enables spell correction on ML dictionary during prediction.  | Enable / **Disable** (default)           | English VAs only.                             |
| **Spell Correction Version**                    | Version of spell correction to apply.                         | Version 1 / Version 2                    | English VAs only. Applied across all engines. |
| **Spell Correction Status**                     | Enable/disable spell correction globally.                     | Enable / Disable                         | English VAs only.                             |
| **ML\_languageSupportViaML**                    | Enables ML-based intent, entity, and interruption detection.  | Enable / **Disable**  (default)          | French and German Languages only.             |

### KG Engine Settings

| Configuration                                  | Description                                                          | Valid Values                                     |
| ---------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------ |
| **Lemmatize KG Synonyms**                      | Uses lemmatized forms of KG synonyms for intent detection.           | **Enable** (default) / Disable                   |
| **Cosine Similarity Dampening**                | Prevents short questions from being penalized in cosine scoring.     | **Enable** (default) / Disable                   |
| **FAQ Name as Intent Name**                    | Uses primary question as intent name when FAQ is linked to a dialog. | Enable / **Disable** (default)                   |
| **FAQs Order for Disambiguation**              | Order of FAQs shown during ambiguity resolution.                     | Order by Hierarchy / **Default Order** (default) |
| **Auto qualify FAQs from Fully Matched Paths** | Qualifies all FAQs from a path when the path is fully matched.       | Enable / Disable                                 |

### Ranking and Resolver Settings

| Configuration                | Description                                                        | Valid Values                   | Notes                                  |
| ---------------------------- | ------------------------------------------------------------------ | ------------------------------ | -------------------------------------- |
| **Intent Elimination Rules** | Applies prebuilt rules to eliminate low-confidence intent matches. | **Enable** (default) / Disable | English, Spanish, French, German only. |

### FM Engine Settings

| Configuration                                  | Description                                                                                                                                                                                               | Valid Values                             |
| ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| **Exact Task Name Match**                      | Choose whether the system should auto-generate the strict pattern when 'Intent Detection using Task Name Words' is Disabled.                                                                              | Enable (default), Disable                |
| **Suppress\_Fallback\_On\_TaskFulfilment**     | When enabled, this prevents the platform from triggering the Fallback or Intent Not Found event if a dialog ends with a 'fulfilled' reason and the "End of Task" event is turned off.                     | Enable, Disable (default)                |
| **Default Max. Wildcards for Intent Patterns** | Use this option to define the maximum number of wildcards to be allowed by default between words for intent patterns. This does not limit you from explicitly writing patterns containing more wildcards. | Any number from 0-9; set to 3 by default |
| **Default Max. Wildcards for Entity Patterns** | Use this option to define the maximum number of wildcards to be allowed by default between words for entity patterns. This does not limit you from explicitly writing patterns containing more wildcards. | Any number from 0-5; set to 2 by default |
| **Ignore Botname Politeness**                  | Once enabled, it stops the app from treating its own name as a polite word, ensuring negative patterns do not accidentally block correct intent matching.                                                 | Enable, Disable (default)                |
| **Resolve Sensitive Entity**                   | Once enabled, it validates raw sensitive inputs and converts them into a standard format, updates the session context, and masks them, preventing disruptions to downstream services.                     | Enable, Disable (default)                |
