-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Overview
Transform Chivato's basic chat into a production-ready AI-powered assistant with streaming, context-awareness, and actionable suggestions.
Reference Implementation
Based on proven patterns from prl-cc project.
Scope
This epic covers:
- UI enhancements (display modes: floating, docked, fullscreen)
- Page context awareness (auto-detect viewed entity)
- Real-time streaming responses via SignalR
- Vector embedding pipeline for semantic search (Chivato.Indexer)
- Proposed actions system (AI-suggested executable commands)
- Azure OpenAI integration (replace mock service)
Sub-issues
- Chat UI: Add docked and improved fullscreen modes #87 - Chat UI: Add docked and fullscreen modes
- Chat: Page context system with useChatPageContext hook #88 - Page context system with useChatPageContext hook
- Chat: SignalR streaming for AI responses #89 - SignalR streaming for AI responses
- Chivato.Indexer: Vector embedding service for semantic search #90 - Chivato.Indexer service for vector embeddings
- Chat: Proposed actions with execution capability #91 - Proposed actions with execution capability
- Chat: Connect existing Azure OpenAI to chat service #92 - Azure OpenAI provider integration
Architecture Reference
From prl-cc:
ChatHub.csfor SignalR streamingRAGPipeline.csfor context retrievalEntityContextService.csfor deep contextPRL.Indexerfor embedding generationchatStore.tsand display modes in frontend
Suggested Implementation Order
- Chat: Connect existing Azure OpenAI to chat service #92 Azure OpenAI provider (foundation)
- Chat UI: Add docked and improved fullscreen modes #87 UI modes (user-facing improvement)
- Chat: Page context system with useChatPageContext hook #88 Page context (enhances AI relevance)
- Chat: SignalR streaming for AI responses #89 SignalR streaming (better UX)
- Chat: Proposed actions with execution capability #91 Proposed actions (advanced feature)
- Chivato.Indexer: Vector embedding service for semantic search #90 Indexer service (RAG capability)
Success Criteria
- Chat supports 3 display modes (floating, docked, fullscreen)
- Chat auto-detects when viewing Pipeline, Drift, or Scan
- Responses stream token-by-token
- Semantic search finds relevant historical drifts
- AI can suggest "Resolve Drift", "Ignore", "Rescan"
- Production AI provider (Azure OpenAI) integrated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels