This release includes breaking changes for platform teams planning a safe upgrade.
Published 2mo
MCP Developer Tools
✓ No known CVEs patched
✓ No known CVEs patched in this version
Topics
chromadb
cursor
discord
github-repos
langchain
mcp
+8 more
mcp-server
model-context-protocol
pdf
pypi
python
llm
vscode
youtube
Summary
AI summaryIntroduced an evaluation framework with LangSmith metrics and optional Cohere reranking.
Full changelog
v0.4.0 — Evaluation, Reranking & Config Defaults
Evaluation framework, Cohere reranking, config defaults, and docs cleanup since v0.3.0.
Configuration
- Defaults — Retrieve k=20; rerank (when enabled) k=20→top_n=10;
ORACLE_RAG_USE_RERANKdefault false; LLM default anthropic. - Evaluator — Optional Anthropic judge; context-heavy evaluators use a smaller model to avoid rate limits.
Evaluation
- Framework — LangSmith evaluators (correctness, relevance, groundedness, retrieval_relevance);
run_evaluation.pywith dataset/prefix/limit. - Target — Evaluation target uses config for k and rerank; golden and hard-10 datasets.
- Scripts —
min_k_per_question.pyto find minimum k per question (dataset arg);create_eval_datasetEHB question and polished Q&As.
RAG & retrieval
- Cohere reranking — Optional
ContextualCompressionRetrieverwith Cohere Rerank; config viaORACLE_RAG_USE_RERANK,ORACLE_RAG_RERANK_RETRIEVE_K,ORACLE_RAG_RERANK_TOP_N.
Docs
- README — MCP section: when
.envis used vs mcp.jsonenv; config table and load order aligned with code. - Notes — evaluation-strategy §8 simplified; implementation-checklist rerank bullet updated; oracle-rag-golden-failing references removed.
Package
- Version — pyproject.toml set to 3.1.0.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About ndjordjevic/pinrag
RAG for PDFs, YouTube, GitHub repos, Discord exports; index documents and query with citations.
Related context
Beta — feedback welcome: [email protected]