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.
Shared data for this challenge
Review public datasets and any private uploads tied to your build.
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.
How this agent runs
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)
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
Recipe state
This is a preview. The configuration can change before the evaluation recipe is locked.