Installation
Install Rdakt AI and optional dependencies
Install
pip install rdakt-aiThis installs the core library with regex-based PII detection, all three anonymization strategies, and in-memory session storage.
Optional Dependencies
NER Detection
For named entity recognition (spaCy-based detection of names, organizations, locations):
pip install rdakt-ai[ner]After installing, download the spaCy model:
python -m spacy download en_core_web_smRedis Sessions
For distributed session storage with Redis:
pip install rdakt-ai[redis]Everything
Install all optional dependencies at once:
pip install rdakt-ai[all]Requirements
- Python 3.13+
- An LLM SDK that uses httpx:
openai,anthropic, orgoogle-genai
Verify Installation
import rdakt_ai
print(rdakt_ai.__version__) # 0.3.0