How-To Guides
Get a Tapis access token
- Visit icicleai.tapis.io and sign in (TACC account, fresh signup, or CILogon).
- Click your username in the bottom-left corner.
- Choose Copy Access Token and paste the JWT into the notebook.

⏰ Tokens expire after ~4 hours. If you start seeing
401 Token expired, refresh the token from the Tapis UI and paste it again.
Tune ingestion behaviour
Open the ⚙️ Ingestion settings accordion in the notebook:
- Collection / Topic / Source — namespacing inside the vector store. Use a distinct collection per project so retrieval doesn't bleed across documents.
- Chat model — switch between
llama4-17b,llama-3-70b, andmistral-7b. - Top-K retrieval — how many chunks to pull back per question. Raise it for broader context; lower it to keep prompts tight.
- Max chunk tokens / Chunk overlap tokens — chunking budget. Larger chunks preserve more context per vector; overlap reduces "split at a bad spot" misses.
Preload a token via environment variable
Skip the paste step by exporting TAPIS_TOKEN before launching marimo — the token input prefills from os.environ["TAPIS_TOKEN"].
export TAPIS_TOKEN="eyJ..."
uv run marimo run notebooks/rag_chat_marimo.py
Reset the local environment
If dependencies get out of sync or you want a clean rebuild:
rm -rf .venv uv.lock
uv sync