Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Building with TypeSafe AI's Jev in Logic Apps: from triage to a router agent

Описание и применение

Типизированные ответы Jev от TypeSafe AI позволяют Logic Apps выполнять детерминированные ветвления без разбора свободного текста, реализуя триаж и маршрутизацию задач в реальном времени.

Задача

Integrating a typed AI model into Logic Apps workflows to replace free‑text parsing with deterministic, schema‑based decisions for triage and routing.

Результат

The typed responses from Jev enabled deterministic branching in Logic Apps, eliminating free‑text parsing. The triage workflow ran in 2.4s, and the router agent correctly dispatched math and general tasks, demonstrating practical, end‑to‑end integration.

Рабочий процесс

  • 1. Add three Jev questions (urgent, category, sentiment) to a single API call.
  • 2. Use Compose_Triage to evaluate urgent.noul, category.choice, and sentiment.score with @if expressions.
  • 3. Deploy triage workflow in Logic Apps Automation and observe 2.4s total run time.
  • 4. Create RouterAgent that sends a single choice question (math vs general).
  • 5. Switch on the answer and dispatch to BodmasAgent or GeneralAgent.
  • 6. Resolve call‑workflow limitation in Automation by using Http POST to the target workflow’s trigger URL.
  • 7. Test both branches: math expression and general question, confirming correct dispatch and responses.

Доказательства

TypeSafe AI's Jev model answers only in a shape you define. You send it state (your text) and a set of typed questions, and it returns typed values with calibrated probabilities instead of free text to parse.

Источник

This run took the default (general) branch: ReqTask → Classify_Task (808 ms) → Route_By_Task_Type → Dispatch_To_GeneralAgent (7.9 s) → Response_General (132 ms), succeeded in 10 seconds total.

Источник

The math branch works too, tested separately: Math: (12 + 8) * 3 - 5 / 5 → classified math (confidence 1.0) → dispatched to BodmasAgent → "Answer: 59". Correct.

Источник

  • Дата записи: 2026-10-07T11:40:52.693Z