Answering questions about a site
Choose the right capability for a question, and present the result to the person.
Most visitor questions are either about the business or about the site's content. KIVEX has a capability for each.
| Question about | Capability | Why |
|---|---|---|
| The business: opening hours, contacts, delivery, returns, terms | web.info | The operator maintains these facts directly. They are verified and fast to read. |
| The site's content: a product, a service, a procedure | web.search | Searches all content KIVEX has read from the site and returns passages with their page. |
We recommend calling web.info with a topic first. If it returns UNKNOWN, call web.search.
Present the answer
Answer from the passage
Base the answer on the returned text. If the site says delivery takes 3–5 working days, say 3–5 working days, even if other sources say something different.
Link to the source
Each passage has a sourceUrl. Share it with the person so they can check the answer and read more.
Say when the value was read
For prices, stock and other values that change, tell the person when KIVEX read the value. The time is in the passage's evidence (observedAt).
Say when the site doesn't answer
An empty passages list or UNKNOWN means the site doesn't provide the answer. Tell the person. If the site supports inquiry.create, offer to send the question to the business.
Example
{
"capability": "web.search",
"input": { "query": "Do you install the stairs as well?" }
}A reply based on the result: "Yes. The workshop's own team installs the stairs, usually within two weeks of delivery (installation page, read on 1 October)."