Installation¶
Requirements¶
- Python 3.10 or later
- pip 21.0 or later
Install with pip¶
Includes NLP models (GLiNER, spaCy), security features, and all extraction stages.
Minimal install with core protocol, extraction stages 1-2, and basic security.
Provider Dependencies¶
CRP is provider-agnostic. Install the SDK for your preferred LLM:
pip install openai # For OpenAI / Azure OpenAI
pip install anthropic # For Anthropic Claude
# Ollama: no pip package needed — just run the Ollama server
Verify Installation¶
Optional Dependencies¶
| Package | Purpose |
|---|---|
gliner |
Stage 3 Named Entity Recognition |
spacy |
Stage 5 discourse analysis |
sentence-transformers |
Semantic similarity for fact deduplication |
prompt-injection-detector |
ML-based injection detection |