Import documents
This Colab notebook walks through bulk-ingest pdfs, markdown, and text into a memory. covers chunking and attribution. Click the badge above to open an editable copy in your own Google Drive.
Setup — one time
Generate an API key at app.areev.ai → Account → API Keys. Inside Colab, open the 🔑 Secrets panel (left sidebar) and add two entries:
| Name | Value |
|---|---|
AREEV_API_KEY | your Areev API key |
AREEV_MEMORY_ID | the memory id the notebook should target (e.g. my-first-memory) |
Toggle Notebook access ON for both. The notebook reads them via google.colab.userdata so the key never appears in the notebook itself.
What’s covered
- Upload a document (PDF / markdown / text)
- Chunking strategy
- Attribution metadata (source, author, timestamps)
- Query the imported memory
- Re-ingest and supersede