ai-robot-core/spec/ai-service
MerCry 6d54030e0d feat(ai-service): implement complete Orchestrator generation pipeline for T3.4 [AC-AISVC-01, AC-AISVC-02]
- Integrate Memory, ContextMerger, Retriever, LLMClient, ConfidenceCalculator
- Implement 8-step generation pipeline:
  1. Load local history from Memory
  2. Merge with external history (dedup + truncate)
  3. RAG retrieval (optional)
  4. Build prompt with context and evidence
  5. LLM generation
  6. Calculate confidence
  7. Save messages to Memory
  8. Return ChatResponse
- Add GenerationContext dataclass for tracking intermediate results
- Implement fallback response mechanism for error handling
- Add 21 unit tests for OrchestratorService
- All 138 tests passing
2026-02-24 13:47:12 +08:00
..
design.md docs: confirm open questions and update design [AC-AISVC-01] 2026-02-24 13:00:08 +08:00
openapi.admin.yaml feat(ai-service): implement complete Orchestrator generation pipeline for T3.4 [AC-AISVC-01, AC-AISVC-02] 2026-02-24 13:47:12 +08:00
openapi.provider.yaml docs: add ai-service provider openapi [AC-AISVC-01] 2026-02-24 12:43:57 +08:00
progress.md feat(ai-service): implement SSE state machine and error handling [AC-AISVC-08, AC-AISVC-09] 2026-02-24 13:32:59 +08:00
requirements.md docs: add ai-service requirements [AC-AISVC-01] 2026-02-24 12:35:28 +08:00
tasks.md feat(ai-service): implement complete Orchestrator generation pipeline for T3.4 [AC-AISVC-01, AC-AISVC-02] 2026-02-24 13:47:12 +08:00