feat: upgrade evaluation pipeline with W&B and update docs#2
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 CHANGELOG
All notable changes to the Talk to Your Docs RAG System.
[3.1.0] - 2026-01-01 - W&B Evaluation Pipeline
✨ New Features
evaluation/track_experiment.py.test_data_autogen.pdf) using ReportLab.RAGWandbEvaluatorclass for cleaner, modular evaluation logic.🔧 Improvements / Performance
ChatGroq.invokecalls to enforce a 10s delay between requests.429 Too Many Requestserrors on Free Tier (8k TPM limit).object.__setattr__to bypass Pydantic validation on LangChain objects.httpx,groq,httpcore,qdrant_client) during evaluation.RunConfigwithmax_retries=10andtimeout=600sfor long-running evaluations.🐛 Bug Fixes
ValueError: "ChatGroq" object has no field "invoke"by using direct attribute setting.Chain invocation failederror insrc/rag.py.if isinstance(lc_prompt, str)to convert string prompts from Langfuse intoChatPromptTemplate..gitignoreto strictly excludewandb/local directories and artifacts.📚 Documentation
make trackcommand documentation.docs/rag-eval-metrics-wandb.png.📂 Files Changed
evaluation/track_experiment.pyimages/rag-eval-metrics-wandb.pngsrc/rag.py(Fixed prompt template type error).gitignore(Added wandb rules)README.md(Added evaluation docs)Upgrade Steps for Evaluation