Download .env.example from BonusLockSMith/structured-extractor: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/BonusLockSMith/structured-extractor/resolve/main/.env.example
- Command line
-
hf download hf://spaces/BonusLockSMith/structured-extractor/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/BonusLockSMith/structured-extractor/resolve/main/.env.example
381 Bytes
| # Pick ONE backend. For a public deploy, use a cloud API (not local Ollama). | |
| # Option A — Claude API (recommended; uses forced tool-use for schema-valid JSON): | |
| ANTHROPIC_API_KEY=sk-ant-... | |
| ANTHROPIC_MODEL=claude-haiku-4-5 | |
| # Option B — local Ollama (dev only; uses constrained JSON decoding via format=schema): | |
| # OLLAMA_URL=http://192.168.12.223:11434 | |
| # OLLAMA_MODEL=qwen2.5:7b | |