Skip to content

fix and readme

fix and readme #5

Workflow file for this run

name: Local Evidently Check
on:
push:
branches: [main]
pull_request:
branches: [main]
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
permissions:
contents: read
statuses: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
evidently-check:
name: Evidently Report
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: requirements.txt
- name: "Install requirements"
run: pip install -r requirements.txt
- name: "Run agent"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: python src/run_agent.py data/test_questions.csv agent_responses
- uses: evidentlyai/evidently-report-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
with:
config_path: src/evidently_config.py
input_path: agent_responses
output: report.json
upload_artifacts: 'true'