Lornos
LornosPrivate beta

Answers that show their sources.

Upload your documents. Your product gets grounded answers, each one cited.

No account or password. One email when your workspace opens.

  1. Uploada help articlerecord-a-sale.md
  2. Indexone of 280 passagesrecord-a-sale.md#1.0
  3. Askfrom your productHow do I record a sale?
  4. Checkcited, retrieved in 3 ms[record-a-sale.md#1.0]
One question to a demo help center of 42 articles, followed from upload to citation.

Read the passage behind every citation

A citation points to a passage in your own documents, with how well it matched the question.

How do I record a sale?

record-a-sale.md2 passages retrieved
  1. #1.0

    1. Open Sales and click Record sale. The Record a sale shortcut on the Dashboard opens the same form. 2. For each line, search and select an item, enter the quantity, and…

    Match score 15.89Cited in the answer

  2. #4.0

    Stock is deducted, each line is costed at the item's current average, the sale is numbered INV-YYMMDD-0001 style, and the Dashboard and Reports update at once. Full…

    Match score 12.70

what-happens-when-you-record-a-sale.md1 passage retrieved
  1. #0.0

    Everything below happens in one transaction: either the whole sale is recorded or nothing is, so a shortage can never leave a half-recorded sale behind.

    Match score 12.56

The three passages retrieved for this question, shown in the documents they came from. Sample from a demo help center of 42 articles.

Citations it wasn’t given come out

Lornos checks every ID as the answer streams. One it didn’t retrieve is removed, and your user is told.

What the model wrote
Open Sales and click Record sale [record-a-sale.md#1.0]. You can also undo a sale from Reports [undo-a-sale.md#0.0].
What your user gets
Open Sales and click Record sale [record-a-sale.md#1.0]. You can also undo a sale from Reports.
Citation check: removed 1 unverified source ID; statements that relied on them are not verified.
An example answer written to show the check. undo-a-sale.md#0.0 was not retrieved for this question. The note is the text Lornos adds.

Every request shows its timings

Each request reports how long finding the passages took and how long the answer took to write, so you can see where your time goes.

One request to our internal demo workspace42 articles, 280 passages
Finding the passages
4 ms
First words on screen
1.6 s
Full answer written
3.30 s
Your timings will differ. Finding passages depends on how much your workspace holds, and writing depends mostly on how long the answer is. Either way the answer streams, so your user starts reading before it is finished.

Each workspace keeps its own index

A question searches only the workspace that asked it. An empty one says so, and never borrows another’s passages.

Demo help center280 passages
Question
How do I record a sale?
Retrieved
3 passages
Cites
[record-a-sale.md#1.0]
A new workspace0 passages
Question
How do I record a sale?
Retrieved
0 passages
Answer
This workspace has no searchable sources yet. Add documents on the Sources page, then ask again.
The same question in two workspaces. The empty workspace’s reply is the fixed text Lornos sends, with no model call and no citations. Deleting a source removes its passages, so no later answer can cite it.

Before you ask for access

The rest is in the help center.

What can I upload?
Markdown, plain text, HTML, PDF and Word, up to 25 MB a file: .md .markdown .mdx .txt .html .htm .pdf .docx
How does my code ask a question?
POST /api/chat with an API key that has the chat scope. The answer streams back with its citations.
Are follow-up questions grounded too?
Yes. Each question gets fresh retrieval. Earlier answers only tell Lornos what “it” refers to, never what to cite.
How many questions can I ask?
30 a minute and 500 a day per workspace, counting the playground and every key. Past that you get a 429 with a Retry-After header.
When can I start?
Lornos is in private beta. We approve early-access requests into new workspaces and write to you once.

Crawling a website comes next

Point Lornos at a URL or a sitemap and it keeps those pages indexed alongside your uploads. In progress, with no date yet.

What works today and what’s in progress

Available today

  • Uploads in Markdown, plain text, HTML, PDF and Word
  • The chat and sources API
  • A citation check on every answer

In progress

  • Crawling a URL or a sitemap

Bring your documents when we open.

We approve early-access requests into new workspaces. Your first answer is one request away.

No account or password. One email when your workspace opens.

Your first requestcurl
curl -N "$LORNOS_URL/api/chat" \
  -H "Authorization: Bearer $LORNOS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "messages": [
    {
      "id": "q1",
      "role": "user",
      "parts": [
        {
          "type": "text",
          "text": "How do I record a sale?"
        }
      ]
    }
  ]
}'
The answer streams back with its citations. Details are in the API reference.