Teneo Studio includes a simple search box in the Home tab and an advanced search in the Search tab.
In the search box of the Home tab, it is possible to perform simple searches, while the Search tab contains more options and possibilities to specify the search criteria.
Follow the below steps to run an advanced search:
- Click the Search tab
- Type a full word or an Document Number in the text search box Asterisk (*) can be used to specify if the search should contain, start or end with the specified word
- Either choose one of the preset searches (please see below) or just select the Object Types and properties to search across.
- Once the Object Types and properties are selected, click Search
The following pre-set search options are available in Teneo Studio:
- None: no object types or properties are selected; this will search throughout everything in the solution and can be very slow (depending on the size of the solution). Also, use this preset search to clear all the types and properties before selecting these for the next search.
- Quick: the Quick preset search selects Language Objects, Entities and Flows as Object Types and the Name in the General properties.
- All: this preset search will select all Object Types and Properties.
- Scripts: the preset Scripts search automatically chooses the Object Types and Properties in a solution where scripts might be available and search through these objects/properties, for example Flow scripts and global scripts.
- Condition: the preset Condition search automatically chooses the Object Types and Properties in a solution where conditions might be available and search through these objects/properties, for example Language Object conditions or Intent Triggers' match requirements.
Available Object Types and Properties
It is possible to design the search as needed depending on what the user needs to find in the solution, the following list includes the Object Types available to search for. Note that each Object Type has different searchable properties available which can also be selected as per needs.
|Searchable Object Types||Searchable Properties|
|Language Object||Name, Description, Id, Positive Example, Negative Example, Condition, Alias|
|Entity||Name, Description, Id, Positive Example, Negative Example, Entry Value|
|Flow||Name, Description, Id, Flow Resume Prompt, Flow Scripts|
|Class||Name, Id, Training Data|
|(Intent) Trigger||Name, Id, Description, Positive Example, Negative Example|
|Transition||Name, Description, Id, Positive Example, Negative Example|
|Prompt (Trigger)||Name, Description, Id, Prompt Trigger Expression|
|Match Requirements||Language Object Name, Entity Name, Class Id, Condition Name, Condition, Scripted Context Id, Script Name, Script Expression, Variable Id|
|Data Actions||Listener Name, Listener Condition, Listener Operation, Script Name, Script Expression, Language Object Name, Entity Name|
|Output Node||Name, Description, Id, URL, Answer Text, Resume Prompt, Output Parameter Key, Output Parameter Value, Skip Condition Expression|
|Script Node||Name, Description, Id, Execution Script|
|Flow Link Node||Name, Description, Id, Target Flow Id|
|Junction Node||Name, Description, Id|
|Listener||Name, Description, Condition, Listener Operation|
|Variable||Name, Description, Value|
|Global Scripts||Session and Engine Scripts|
Search button options
The Search button, when clicking the little, black arrow, gives the following search options:
- Current Solution: this option searches through the currently open solution
- All Solutions: this option searches through all the available solutions in the server
- Current Solution and its referenced Lexical Resources: this option searches through the currently opened solution and its referenced lexical resources
- All Solutions and All Lexical Resources: this option searches through all the available solutions and all the available lexical resources in the server
The search results are displayed in the main window of Teneo Studio. The list of results include, in the first column to the left, the object types' icon (Flows, Language Objects, Entities, ...) of where the text string was found, then the Name column and lastly the location (in which solution/lexical resource does the object live).
The search results can be sorted by either the Object Type, Name or Location by clicking in the top of each column.
The following documents in a solution and/or environment can be opened from the Search results:
|In the current solution||In another solution (same environment)|
|Language Objects||Language Objects|
Double-click the object to open in read-only mode or while holding the Alt key down to open in edit mode, objects from another solution are always opened in read-only mode.
Search and copy across solutions
Search for objects across all the solutions by clicking the Search All Solutions option. This allows, for example, to copy Flows, Entities and Language Objects across solutions located in the same Teneo Studio environment.
To do this, just run a search (using the All Solutions) option, select the objects to copy and hold the Ctrl key down while dragging and dropping them into a folder. Alternatively, use the Copy and Paste buttons available in the top ribbon of Teneo Studio.
Search for usages of a Flow
If you need to find out where a certain Flow is being referenced from, follow these steps:
- In the Solution Explorer, open the folder where the Flow is located
- Right-click the Flow to open the context menu
- Select Copy Id to Clipboard
- Click the Search tab in the top of Teneo Studio
- Click the text search box and paste the Id into the box (use Ctrl+v on the keyboard)
- Select the Flow Link Node under Object Type
- Ensure that the Target Flow Id property is selected
- Lastly, click the Search button
Search for usages of Sub-flows
Use the advanced search to find places where linked Flows are applied (either Sub-flows or regular Flows linked to from other Flows).
When a Flow link node has been given a name or description, these can be searched for by following the below steps:
- Go to the Search tab
- Under the Object Type, select Flow Link Node
- Under the General properties, select Name and/or Description
- Type the name or description of the Flow link node in the search text field
- Click Search
If no specific name or description has been given to the Flow link node, then search for the Target Flow Id property of the child Flow; this way, in the search results all the Flows containing a Flow link node pointing to that child Flow are displayed. To perform this search, follow the below steps:
- Right-click the Sub-flow or the regular Flow used by other Flows and select the Copy Id to clipboard option
- Go to the Search tab
- Under the Object type, select Flow Link Node
- Under Other properties, select Target Flow Id
- Paste the copied Id into the search text box
- Click Search
Search for Language Objects and Entities
Use the advanced search to find Language Objects or Entities located in a lexical resource either assigned to the solution or available in the server.
The following properties of Language Objects and Entities are searchable in Teneo Studio:
- Positive Example
- Negative Example
- Condition (only Language Objects)
- Alias (only Language Objects)
- Entry Value (only Entities)
To perform a search for Language Objects or Entities in a referenced lexical resources, follow the below steps:
- Click the Search tab in the main Teneo Studio window
- Click None to clear the preset search
- Next, click Language Object and/or Entity
- In the right side of the top ribbon, the specific properties for Language Objects and Entities will appear, by default all properties are selected, deselect the ones not needed in the search
- Now, in the Search field (to the far left) write the word to search for
It is possible to search for complete Language Object or Entity names, parts of an object's name or simply the object type's suffix. The unknown parts of the name can be filled with an
- Last, click the lower part of the Search button. This will open a dropdown menu, select Current Solution and its referenced Lexical Resources to search only in referenced lexical resources, or All Solutions and All Lexical Resources to search in all solutions and lexical resources in the server.