Logo
Explore Help
Register Sign In
AIRegulation/siemens_ragas
7
0
Fork 0
You've already forked siemens_ragas
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
ce0d2291b024bc3acf1b752254927a1bd7a5c552
siemens_ragas/webapp/__init__.py

6 lines
239 B
Python
Raw Normal View History

Add RAGAS evaluation web console (FastAPI + vanilla JS) - webapp/: FastAPI backend with runs/scenarios/evaluations API routers; services for run_reader, report_builder, scenario_scanner, task_manager (lazy ragas import — server boots even without ragas); Pydantic models - webapp/static/: single-page console (layout A: left-nav + main area); report detail with metric cards, Chart.js distribution histogram, grouping table, lowest-score sample review; trigger evaluation + log polling - webmain.py: uvicorn entry point (alongside existing main.py CLI) - start.bat: Windows one-click launcher with env checks and auto-browser open - rag_eval/datasets/: implement missing loader + normalizer modules (load_dataset_records, normalize_records) required by evaluator - scripts/seed_sample_run.py: generate realistic demo run artifacts - .gitignore: exclude datasets/ data files but keep rag_eval/datasets/ source Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-06-15 15:53:57 +08:00
"""Lightweight FastAPI web console layered on top of the rag_eval platform.
This package is additive and non-invasive: it imports rag_eval as a library and
reads run artifacts from disk. It never modifies the core evaluation modules.
"""
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 32ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API