| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-02-27 | 1.9 kB | |
| v1.2.0 source code.tar.gz | 2026-02-27 | 1.3 MB | |
| v1.2.0 source code.zip | 2026-02-27 | 1.4 MB | |
| Totals: 3 Items | 2.8 MB | 0 | |
What's New
Score Caching
LRU cache with blake2b key hashing and configurable TTL — eliminates redundant NLI/embedding computation during streaming.
:::python
scorer = CoherenceScorer(threshold=0.6, cache_size=1024, cache_ttl=300)
Framework Integrations
- LangGraph —
director_ai_node()factory +director_ai_conditional_edge()for state graph routing - Haystack 2.x —
DirectorAICheckercomponent withrun(query, replies)interface - CrewAI —
DirectorAIToolfor agent-based workflows
Quantized NLI
8-bit model loading via bitsandbytes for <80ms GPU inference:
:::bash
pip install director-ai[quantize]
:::python
scorer = CoherenceScorer(nli_quantize_8bit=True, nli_device="cuda")
Upgraded Embeddings
SentenceTransformerBackend with BAAI/bge-large-en-v1.5 (default) for higher-quality vector retrieval:
:::bash
pip install director-ai[embeddings]
MkDocs Documentation Site
Full documentation at anulum.github.io/director-ai:
- User guides (scoring, streaming, evidence, config)
- 6 integration pages (SDK, LangChain, LlamaIndex, LangGraph, Haystack, CrewAI)
- API reference (mkdocstrings)
- Production deployment guides (scaling, Docker, Prometheus)
- Domain cookbooks (legal, medical, finance)
Enhanced Demo
Side-by-side comparison tab with token-level HTML highlighting (green/yellow/red + strikethrough for halted tokens).
Community
- GitHub issue templates (bug report, feature request)
- PR template
- Good first issues — 10 starter tasks for contributors
Stats
- 374 tests passing across Python 3.10/3.11/3.12
- 50 files changed, 2,464 insertions
- CI: lint, format, mypy, security audit — all green
Install
:::bash
pip install director-ai==1.2.0
Full Changelog: https://github.com/anulum/director-ai/compare/v1.1.0...v1.2.0