Answers that show their sources.
Upload your documents. Your product gets grounded answers, each one cited.
- Uploada help articlerecord-a-sale.md
- Indexone of 280 passagesrecord-a-sale.md#1.0
- Askfrom your productHow do I record a sale?
- Checkcited, retrieved in 3 ms[record-a-sale.md#1.0]
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?
- #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
- #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
- #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
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.
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.
- Finding the passages
- 4 ms
- First words on screen
- 1.6 s
- Full answer written
- 3.30 s
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.
- Question
- How do I record a sale?
- Retrieved
- 3 passages
- Cites
- [record-a-sale.md#1.0]
- 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.
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/chatwith an API key that has thechatscope. 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
429with aRetry-Afterheader. - 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.
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.
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?"
}
]
}
]
}'