Add Streamlit UI, M9 feedback wiring, retrieval scoping, and two-tier… #1
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
| name: Eval Gate (M3) | |
| on: | |
| push: | |
| paths: | |
| - "prompts/**" | |
| - "agents/**" | |
| - "evaluation/**" | |
| pull_request: | |
| paths: | |
| - "prompts/**" | |
| - "agents/**" | |
| - "evaluation/**" | |
| jobs: | |
| eval-gate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: pip | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt | |
| - name: Run evaluation suite | |
| env: | |
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }} | |
| LANGSMITH_TRACING: "true" | |
| LANGSMITH_PROJECT: document-rag-analysis-ci | |
| run: python -m evaluation.eval_gate | |
| - name: Upload score report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: eval-scores | |
| path: eval_scores.json |