KKissan Ki Pehchan
AI and Knowledge

Prompt and Output Contracts

Versioned model instructions, evidence rules, structured outputs and semantic validation.

BlueprintVersion 0.25 Aug 2026

Layers

  1. Platform system contract: evidence, authority, safety and tool policy.
  2. Agricultural method: differential diagnosis and uncertainty.
  3. Immutable case snapshot.
  4. Current task: ask, research, synthesize, validate or respond.
  5. Machine-validated output schema.

Required behavior

Separate observation from inference; cite evidence IDs; retain plausible alternatives; ask rather than guess; use local authority for operational applicability; label external research; call exact verification for regulated/numerical claims; use cautious Urdu when uncertain.

Validation

LLM JSON → parse → JSON Schema → semantic validation
→ evidence-ID existence → current-date/authority check
→ policy-claim check → risk gate

Schema validity is insufficient: cited evidence must exist, dates must be current, and the proposed action must match policy/risk.

Versioning

Store prompt ID/version, model snapshot, tool definitions, retrieval settings, schema, evaluation result, approval owner, effective date and rollback target.

See JSON Schemas and Example Payloads.