- Welcome to the EasyVista Wiki
- Self Help - Overview
- Self Help Online Studio - The User Interface
- Self Help Online Studio - All Menus
- SelfHelp - Online Studio - Service Bots Menu > Dictionaries
- Virtual Agent Dictionary - Description of the CSV File
Virtual Agent Dictionary - Description of the CSV File
A dictionary is used by a virtual agent to analyze user questions and to select the most relevant content related to the request. It is also used to correct spelling errors.
- A dictionary is associated with one or more Self Help projects for a virtual agent via the Service Bots > Dictionaries menu in the Online Studio.
- It is associated with a given language.
- It appears as a CSV file comprising a list of terms and the links that exist among them.
- Each row corresponds to one term or one set of synonyms.
Caution
- When you import a dictionary, you must ensure that the first character of each row in the CSV file is a semicolon (;). This character is used to separate data into columns in the CSV file and create one dictionary term per row.
Best Practice
- Use Excel to modify the CSV file.
Contents of the CSV file
Column | Description | |
---|---|---|
A | Column separator
Note: Must be a semicolon (;). |
|
B | Type of term.
Note: The type remains identical regardless of the dictionary language. |
|
C | Contains one of the following:
|
|
D and other | List of synonyms of the term in column C. |
Example
CSV file open in Excel
- Row 13:
- Column B: nn ==> All terms in the row are nouns.
- Column C: documentation ==> Term to be added to the dictionary.
- Columns D and E: Synonyms of documentation ==> document, doc.
- Row 14:
- Column B: nn ==> All terms in the row are nouns.
- Column C: > ==> Indicates a parent - child relationship with previous row 13. All terms in row 14 are child entities of the term documentation.
- Column D: User manual
- Columns E to I: Synonyms of the term User manual ==> instructions, guidebook, manual, guide, notice.
Display the dictionary in the Online Studio
- Display the term Documentation
(1)Type of term ==> Noun
(2) Term and synonyms: doc, document
(3) Child entities: guide, guidebook, instruction, manual, notice, user manual
- Display the term Guide
(1)Type of term ==> Noun
(2) Parent entities: doc, document, documentation
(3) Term and synonyms: guide, guidebook, instruction, manual, notice, user manual