Ayush Health DPI Triage API using Vercel AI SDK & Readme
Public health portals require compliant multilingual triage while verifying patient consent across Ayush health registries. Build a interactive health routing API using Vercel AI SDK and Readme to automate patient symptom triage and generate standardized consent-backed API docs.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop a TypeScript patient triage service integrated with Ayush registry schemas using Vercel AI SDK and Readme API documentation tools.
How work is evaluated
Evaluates health query classification correctness and OpenAPI schema compliance generated by the system.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
check_abha_validation
Ensures requests without valid ABHA consent tokens are rejected
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
triage_accuracy
Correctness of department routing based on medical guidelines • target: 0.9 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Implement multi-provider streaming and tool calls using Vercel AI SDK
Auto-generate OpenAPI interactive specs using Readme SDK tooling
Parse and validate patient consent tokens against Ayush Digital Health standards
Support multilingual Hindi/English medical query routing
Reference links and supporting material
Multilingual Indian health query dataset annotated with ABDM consent metadata and Ayush diagnostic taxonomies.
Challenge setup
Evaluates health query classification correctness and OpenAPI schema compliance generated by the system.
Challenge input
JSON object with patient_symptoms, language, and abha_consent_token
AI SDK
Vercel's TypeScript SDK for building AI applications with tools and streaming.
Readme
Developer hub platform for generating and managing API documentation.
Evaluated output
JSON response with triage_category, specialization, and risk_urgency
- Ensures requests without valid ABHA consent tokens are rejected
- Correctness of department routing based on medical guidelines • target: 0.9 • range: 0-1
- Benchmark: Multilingual Medical Triage Benchmark
- Triage Accuracy target: 0.9
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Readme · Required
- Vercel AI SDK · Optional
- LangWatch · Optional
- Vercel AI SDK · Optional
Evaluation contract
- check_abha_validation · Weight 1
- triage_accuracy · Weight 1
Metrics
- triage_accuracy · Target 0.9
Benchmarks
- Multilingual Medical Triage Benchmark
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON object with patient_symptoms, language, and abha_consent_token
Output: JSON response with triage_category, specialization, and risk_urgency
Execution harness: JavaScript
Evaluation tools
- AI SDK · Agent Orchestration Framework
- Readme · AI Engineering Tooling
Recipe freeze marker
No recipe freeze time is recorded.