Knowledge Search
With the Knowledge Search functionality in HALO, you can search through your Knowledge and generate an answer.
The Knowledge Search option will, using a query as input, search through your Knowledge to find the most relevant Sources and try to generate an answer. There are three possible outcomes:
Answer
If HALO can answer the user query using Knowledge, an answer will be generated. The tool result includes the answer text, the reasoning behind it, and the sources that were used.
Clarifying Question
If the user query is too vague or unclear to generate a good answer, HALO will respond with a clarifying question. This helps guide the user to provide more context so a proper answer can be given in a follow up.
No Answer
If the available Knowledge does not contain enough information to answer the user query, HALO returns a no_answer type. This means you should handle the conversation yourself, for example by forwarding to a live agent or showing a fallback message.
Date and time awareness
HALO knows the current day of the week, date, and time. This allows it to answer time-sensitive questions, for example "Are you open today?", "Is the summer promotion still valid?", or "When will my order arrive if I order now?".
The current_datetime system context can be configured to change the timezone, so that HALO reasons with the correct local time for your customers.
Source types
When the Knowledge Search uses Sources to generate an answer, those Sources are included in the tool result. Depending on the type of Knowledge Source, they are formatted differently:
|
Source type |
|
Fields |
Description |
|---|---|---|---|
|
Web crawler |
|
|
A page that was crawled from a website. The |
|
API connection |
|
|
Data retrieved from an external API connection. The |
|
File |
|
|
An uploaded file (e.g. PDF, document). The |
|
Other |
|
|
Any other source type. |