Datalumo
Docs · Search
View markdown

Search

Semantic plus keyword search over your sources, with citations.

Create a search widget on a knowledge base, pick the sources it may use, add the site domain, then paste the snippet. For mount options and the analytics beacon, see Install.

Search does not use answer credits. An optional AI summary above the results does.

#Create a search widget

  1. Open a knowledge base that already has one or more sources with content. If it does not, add a source first.
  2. Create a search widget.
  3. On Setup, choose the sources and add the domain that will host the embed.
  4. Save, then copy the snippet from Install.
<div id="search" style="min-height: 2.5rem"></div>
<script src="https://datalumo.app/widget/v1/datalumo.js"></script>
<script>
  Datalumo.search('ORG_ID/WIDGET_ID', { target: '#search' }).mount();
</script>

Give the target a min-height of 2.5rem so the page does not jump while the launcher paints. The key looks like {organisation}/{widget} and is safe to put in HTML.

WordPress can drop a box with [datalumo_search], or rank your theme's own search page. Laravel has a Blade component. See those integrations.

#Look

Variant What visitors see
Modal A search box that opens results in a dialog (default with a target)
Inline Results render in the page

AI summary writes a short streamed overview above the hits. It uses answer credits, and only appears when there is enough matching content.

Thumbnails puts a page image on the right of each hit when the page has one. Off by default.

Ask assistant (optional) links a chatbot on the same knowledge base. Visitors can hand the query to chat. Add the chatbot first, then pick it here. The button label defaults to "Ask assistant".

Advanced: search delay after typing (default 1000 ms) and whether to store query text in analytics.

Edits stay pending until you Save.

#Custom clients

Building your own results UI, or searching from a server? Use the search endpoint. Prefer the embed in the browser.