How taiyoung12/rag-poc-was works
Main Components
a) Client Layer:
• Both REST endpoints (WebController, RagController, HealthCheckController)
b) Application Layer:
• Inside this container, create sections for:
• Controllers Package (handling HTTP requests)
• Service Layer (RagService, RagListener)
• Base Components (exception handling, response formatting)
c) Message Queue Layer:
• Message queues (use QueueName.kt definitions)
• MessageSender and QueueManagement components
d) External Services Layer:
• External LLM API component
• ExternalApiClient connection
Detailed Component Breakdown
For each major component, include:
a) Controllers:
• HealthCheckController
• RagController
• WebController
b) Service Layer:
• RagService
• RagListener
c) Message Handling:
• MessageSender
• QueueManagement
• RagMessage structure
d) Base Components:
• Exception handling
• Response formatting
• Configuration (FeignConfig, RabbitMqConfig)
Technical Details
• Spring Boot 3.3.2 framework
• Kotlin as the programming language
• RabbitMQ message queue
• External LLM API integration
• JUnit test framework
Remember to emphasize the asynchronous nature of the system, showing how the RabbitMQ integration enables decoupled processing of RAG requests and responses.