Skip to content

Add evaluate-batch and evaluate-from-template endpoints to processing - #77

Open
MYRhouma wants to merge 5 commits into
Prometheus-X-association:yassine-refactorfrom
MYRhouma:feat/dva-processing-endpoints
Open

Add evaluate-batch and evaluate-from-template endpoints to processing#77
MYRhouma wants to merge 5 commits into
Prometheus-X-association:yassine-refactorfrom
MYRhouma:feat/dva-processing-endpoints

Conversation

@MYRhouma

Copy link
Copy Markdown
Contributor

Adds the two production endpoints that the slimmed dva-api orchestrator calls:

  • POST /evaluate-batch accepts {vla, data}, runs every quality implementation declared in the VLA's schema[].quality[] and returns a list of EvaluationResultDTO entries; tolerates the VLA schema being a list or a single object with a top-level quality
  • POST /evaluate-from-template same contract, but renders the implementation through a Handlebars template; returns 404 when the template id is unknown
  • swagger UI enabled, auto-docs disabled; OpenAPI committed
  • 4 unit tests in dva-processing/tests/ (pytest tests/ -> 4 passed)

Depends on: #75 (slim dva-api-processing)

@bzp99

Copilot AI review requested due to automatic review settings July 27, 2026 12:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bzp99 bzp99 self-assigned this Jul 29, 2026
@bzp99 bzp99 changed the title feat(dva-processing): add evaluate-batch and evaluate-from-template endpoints Add evaluate-batch and evaluate-from-template endpoints to processing Jul 29, 2026
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.

3 participants