Develop and integrate necessary controllers for communication with external services and implement session management to maintain user sessions effectively in the Kyma Companion core application. The task depends on #47 . The task can be done after we connect to the redis client. The redis setup depends on this task #25 .
Subtasks
Setup Controllers:
Implement necessary controllers to enable communication with external services (dummy API, "Hello World" responses with correct data types).
/chat: Handle conversation with an agent. At the moment just dummy response stream.
/followups: Generate follow-up questions. Just dummy response.
/init: Generate initial questions and initialize the conversation with an agent. Just dummy response.
Ensure controllers can handle multiple requests from different users simultaneously.
Integrate Session Management:
Set up the connection to the Redis client for session storage.
Implement middleware to inject sessions into the request handling process.
Acceptance Criteria
[x] Controllers are implemented and can communicate effectively with necessary external services.
[x] /chat controller handles conversations with agents correctly.
[ ] /followups controller generates follow-up questions as expected.
[x] /init controller generates initial questions and initializes conversations correctly.
[ ] Session management is functional and can handle multiple users and sessions.
[ ] Connection to Redis client is established and operational.
[ ] Middleware for session management is in place and working correctly.
Description
Develop and integrate necessary controllers for communication with external services and implement session management to maintain user sessions effectively in the Kyma Companion core application. The task depends on #47 . The task can be done after we connect to the redis client. The redis setup depends on this task #25 .
Subtasks
Acceptance Criteria