Skip to content

fix(rag): enable MLflow query metrics#908

Open
Pcmhacker-piro wants to merge 1 commit into
SdSarthak:mainfrom
Pcmhacker-piro:fix/rag-mlflow-tracking
Open

fix(rag): enable MLflow query metrics#908
Pcmhacker-piro wants to merge 1 commit into
SdSarthak:mainfrom
Pcmhacker-piro:fix/rag-mlflow-tracking

Conversation

@Pcmhacker-piro
Copy link
Copy Markdown

Summary

Closes #75

Fixes the RAG MLflow helper so POST /api/v1/rag/query can log question text, answer length, source count, and response latency for each query. Also documents how to inspect local MLflow runs and adds a focused test for the logged metrics.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor
  • Tests
  • Infra / CI

Checklist

  • I have read CONTRIBUTING.md
  • My code follows the project style
  • I have added/updated tests where relevant
  • Tests/lint pass locally (if available)
  • I have not committed .env or any secrets
  • I have updated documentation if needed

Screenshots (if UI change)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate MLflow tracking into RAG queries

1 participant