First steps¶
1. Configure secrets¶
Edit .env. Keys are loaded automatically and must not be placed in YAML.
| Variable | Needed for |
|---|---|
OPENALEX_API_KEY and/or OPENALEX_EMAIL |
Literature search |
UNPAYWALL_EMAIL |
Open-access PDF download |
ANTHROPIC_API_KEY |
Claude stages (if configured) |
OPENAI_API_KEY |
Ollama / OpenAI-compatible APIs |
Full list: Environment variables.
2. Choose a config¶
configs/config.yaml is the shipped generic template. It uses the example extraction
schema and prompt documented in Schemas & prompts:
schemas/example/record.jsonprompts/example/prompt.md
The complete file is documented in Configuration.
Edit user_goal, filters, and extraction.schemas as needed. See Configuration.
3. Set the PDF converter device¶
4. Create a run¶
Copy the printed run id:
Tip
List recent runs anytime with litcurate list-runs.
5. Continue stage by stage¶
Use the same RUN_ID for later stages. Full sequence: Running a pipeline.
Pass --config $CONFIG on LLM stages so provider settings apply.
6. Export¶
When extraction is done:
Output: