Stop Building Chatbots: Why We Switched to Prompt-Oriented Programming (POP)
说明与用途
使用严格的 JSON 模式将 Markdown 规范转换为 Kanban 看板,消除人工录入,实现确定性输出。
问题
Using open‑ended LLM prompts to generate database mutations caused hallucinated JSON and inconsistent data, breaking application state.
结果
A 10‑page spec is converted into a fully mapped Kanban board in under 15 seconds, eliminating manual data entry and ensuring deterministic output.
工作流
- 1. Upload raw Markdown spec to backend
- 2. Pass spec to Gemini API with a system instruction and JSON schema definition
- 3. Gemini returns a JSON array of task objects
- 4. Backend validates array against database schema
- 5. Bulk create Kanban tickets
- 6. Board is fully populated without manual entry
证据
By wrapping the LLM in these strict POP constraints, the output became completely deterministic.
In under 15 seconds, a raw Markdown document is translated into a fully mapped, assignable Kanban board without a single manual data entry step.
- 记录日期: 2026-09-05T18:08:19.530Z