![](https://haloitsm.com/wp-content/uploads/2021/05/Add-a-heading-16.png)
HaloITSM Guides
Documentation to assist with the setup and configuration of the HaloITSM platform
Virtual Agent and Azure AI Search
Halo can be integrated with Azure AI Search for Knowledge Searching.
The Azure AI Search integration allows you to create a search index for Knowledge Base articles and Services to perform AI similarity-matching searches.
This can be configured from Config > AI - AI Knowledge Search, and choosing Vector search database as Azure AI Search.
The endpoint and api key of your Azure AI Search instance are all that is required to configure the connection.
Once configured, the indexing of all articles and services currently in the database can be scheduled. When articles and services are created, edited or deleted, the search indexes in Azure AI Search are automatically updated with the embeddings in the background.
The search screen then allows you to do an AI search using the AI button in the search bar. When active, all filters are cancelled and search as you type is disabled, and the search becomes text only. An embedding is created for the search term, and an AI similarity search is run in Azure AI Search. The match score is also shown in the results.
The main use case for this functionality is the Virtual Agent feature, which uses Azure AI Search to search existing ITSM metadata to provide answers. Virtual Agents can be used without Azure AI Search, although that will result in searches being based on lexical search rather than semantic search.
"Virtual Agents" can be configured in Config > AI > Virtual Agents, or Config > Chat > Virtual Agents. These currently integrate with Open AI and Azure OpenAI Assistants.
Creating a new Virtual Agent will create a new Assistant in OpenAI and create the functions implemented in Halo. A built-in Virtual Agent is provided out of the box for hosted customers.
Plug a Virtual Agent into a Chat flow, and the chat conversation will stay on the same step but alternate between the Virtual Agent and user.
Additional instructions can also be provided at step level. This allows you to provide some additional context if you are using the generic out-of-the-box Virtual Agent, or provide additional step-specific information.
The following functions are currently implemented;
- Knowledge search - the agent will search the knowledge base using Azure AI Search, and receive the descriptions and resolutions of matched articles, and formulate a response based on the results where appropriate
- Service search - the agent will search services using Azure AI Search, and receive the names and links to any matched services, and direct the user to the service where appropriate
- Log an incident - the agent will log a ticket for the user once it knows the user's information and details of an issue
- Check my tickets - the agent will provide the user information about their open tickets when requested, or a specific open ticket
- Update a ticket - the agent will add an update to one of the user's tickets when requested
- Speak to an agent - the agent will begin a transfer to a human agent
- End chat - the agent will end the chat
Custom functions can also be implemented to escape the Virtual Agent conversation step and move to a different step of the chat flow. The outcomes can be configured at chat flow step level - include instructions about when to call the custom function and the parameter name, and the agent will execute the function when those conditions are met.
For example, you can set a custom function called PASSWORD_RESET, that moves the chat flow onto a step that logs a password reset service request and then moves back to the Virtual Agent conversation, by adding a Custom function and telling the agent in the additional instructions "if you determine that the user wishes to log a password reset request, call "custom_function" with function_name="PASSWORD_RESET".
Popular Guides
- Asset Import - CSV/XLS/Spreadsheet Method
- Call Management in Halo
- Creating a New Application for API Connections
- Creating Agents and Editing Agent Details
- Departments, Teams and Roles
- Halo Integrator
- Importing Data
- Multiple New Portals with different branding for one customer [Hosted]
- NHServer Deprecation User Guide
- Organisation Basics
- Organising Teams of Agents
- Step-by-Step Configuration Walk Through
- Suppliers