How rokon12/llm-jakarta works
• Frontend → WebSocket → Backend Services
• Backend → Database
• Backend → OpenAI API
• WebSocket message flows
Key Architectural Elements to Highlight
a. Multi-layered Architecture:
• [Frontend] → [WebSocket Layer] → [Service Layer] → [External Services]
• → [Database Layer]
b. Feature Progression (Show as connected modules):
• Basic Chat (Step 00-01)
• Persistence (Step 02)
• Project Generation (Step 03)
• RAG Implementation (Step 04-06)
Important Technical Details
• Jakarta EE
• WebSocket
• JSF
• LangChain4j
• PostgreSQL
• Docker
b. Configuration Elements:
• Environment Variables (OPENAI_API_KEY, LLM_JAKARTA_DOCUMENTS_DIR)
• MicroProfile Config
• Persistence Configuration
• [User Interface Layer]
• ↓
• [Communication Layer]
• ↓
• [Business Logic Layer]
• ↓
• [Integration Layer]
• ↓
• [Persistence Layer]
Additional Elements
• Version/step numbers for different features
• Scaling possibilities
• Configuration points
Remember to:
• Use consistent styling
• Clear labels
• Data flow directions
• Integration points
• Document dependencies