Build a Local-Language Service Appointment and Document Checklist Assistant — implementation
Prompt source
implementation70 lines11 sectionsNo variables1 code block
## Build
Assist citizens in scheduling municipal service appointments in their regional language. Prepare structured checklists of required certificates and proofs based on appointment type.
## User
Gram Panchayat citizen kiosk operator
## Workflow
1. Ingest citizen inquiry transcripts requesting local public municipal appointments.
2. Identify requested public service category, jurisdictional taluk, and date preferences.
3. Compile an explicit list of required supporting documents in the target language.
4. Generate a structured appointment preparation slip with slot confirmation details.
## Interface
Clean responsive interface rendering localized document preparation cards and appointment reservation summaries.
## Data
Synthesize municipal service catalogs and document requirement lists for mock taluk administrative offices.
Starter examples below are synthetic. They are not downloaded records.
## Source
[Bhashini documentation](https://bhashini.gitbook.io/bhashini-apis)
Adopts Bhashini language routing principles for NMT translation sequences and ISO-639 language parameter handling.
## Tools
mastra-ai, pydantic.
Mastra AI provides deterministic workflow state handling and schema verification for multi-step service appointment generation.
Local or hosted LLM with strong vernacular Indian language translation and structured JSON output.
## Deliverables
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
## Acceptance
- Generates mandatory document prerequisites for selected service types.
- Includes localized instructional descriptions aligned with the ISO language tag.
- Flags incomplete requests where taluk or service category is unspecified.
## Starter Examples
```json
[
{
"input": {
"service_category": "RESIDENCE_CERTIFICATE",
"applicant_name": "Ramesh Kumar",
"preferred_lang": "hi",
"taluk_id": "TALUK-NORTH-04"
},
"expected_output": {
"service_name_hi": "Niwas Praman Patra",
"required_docs": [
"Electricity bill or rent agreement",
"Ration card copy",
"Passport-sized photograph"
],
"slot_status": "PROVISIONALLY_SCHEDULED",
"checklist_complete": true
}
},
{
"input": {
"service_category": "TRADE_LICENSE",
"applicant_name": "S. Devi",
"preferred_lang": "ta",
"taluk_id": ""
},
"expected_output": {
"service_name_ta": "Vaniga Urimam",
"required_docs": [
"Property tax receipt",
"Establishment site blueprint"
],
"slot_status": "BLOCKED_MISSING_TALUK",
"checklist_complete": false
}
}
]
```
## Safety
Does not collect national identity numbers or biometric credentials; uses placeholder mock resident names.
Use mock external writes. Require human review before any real deployment.