QUIVR_API_URL and QUIVR_API_KEY. You need curl, jq and a key with corpora:read, corpora:write, content:read, content:write and search:query access. The local launch paths give you that key.
1
Create a collection
A collection groups documents you want to search together. The API calls it a Corpus. Create a collection named News.Replace
<corpus_id> with the value returned above.2
Add an article
Send the article as plain text. Quivr calls each document a Record. The Quivr returns a receipt when it accepts the article. Replace Run the receipt command again until
namespace names the source in the collection and the record_key identifies the article in that source.<receipt_id> with the returned value so you can check when it becomes searchable.searchable is true.3
Find the word eclipse
Use The hit gives you the article’s ID, the section it matched, and the text from that section.
lexical mode to find the word eclipse in the News collection.4
Find the same idea
Use Look for the same article ID. While Quivr prepares the article for meaning search, you may see an empty list or an HTTP
semantic mode to search by meaning with the phrase the moon blocked the sun.422 (unsupported_search). Give the background worker a moment to finish and run the search again.What you built
You have a collection with one searchable article. You can leave it in place and rerun the same requests. The request keys (idempotency_key) let Quivr return the same collection and receipt when you send the same requests again.
Connect a source
Bring in new documents automatically.
Set an alert
Get notified when a new document matches a topic.
Browse plugins
See which sources, file formats and search tools you can add.