Skip to content

feat: add decision-scoring service with Laya backend - #1172

Merged
cybermaggedon merged 1 commit into
release/v2.10from
feature/decision-scoring-service
Oct 16, 2026
Merged

cybermaggedon merged 1 commit into
release/v2.10from
feature/decision-scoring-service

Conversation

@cybermaggedon

@cybermaggedon cybermaggedon commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add a new decision-scoring service wrapping the Laya model for fast, structured decision-making (~35ms per call)
  • Supports three output types per request: choice (select from options), score (probability distribution over ordered levels), and noul (binary yes/no confidence)
  • Multiple outputs can be evaluated in a single call against the same input
  • Auto-routes by input language (English/multilingual); optional model override via flow parameter

Changes

  • trustgraph-base/: DecisionScoringRequest/Response schema, translators, queue definitions, and translator registry registration
  • trustgraph-flow/: Gateway DecisionScoringRequestor, dispatcher registration, and Laya-backed service at trustgraph/model/decision_scoring/laya/
  • trustgraph-flow/pyproject.toml: Added laya dependency and decision-scoring-laya entry point
  • docs/tech-specs/decision-scoring-service.md: Full technical specification

Note: This is not integrated with processing. Integrated for evaluation.

@github-actions

Copy link
Copy Markdown

Contributor License Agreement ✅

All contributors have signed the CLA. Thank you!

@cybermaggedon
cybermaggedon changed the base branch from master to release/v2.10 October 16, 2026 15:39
Add a new decision-scoring service that wraps the Laya model for fast,
structured decision-making. Supports three output types per request:
choice (select from options), score (probability distribution over
ordered levels), and noul (binary yes/no confidence). Multiple outputs
can be evaluated in a single call against the same input.

- DecisionScoringRequest/Response schema, translators, and queue definitions
- Gateway DecisionScoringRequestor and dispatcher registration
- Laya-backed service at trustgraph-flow/trustgraph/model/decision_scoring/laya/
- Auto-routes by input language; optional model override via flow parameter
- Added laya dependency and decision-scoring-laya entry point to trustgraph-flow
@cybermaggedon
cybermaggedon force-pushed the feature/decision-scoring-service branch from b07beff to 8975ebd Compare October 16, 2026 15:43
@cybermaggedon
cybermaggedon merged commit 6ad6eef into release/v2.10 Oct 16, 2026
3 checks passed
@cybermaggedon
cybermaggedon deleted the feature/decision-scoring-service branch October 16, 2026 15:58
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.

1 participant