Skip to content

feat(chatbot): implement chatbot module flow with session management#22

Open
IsraaXx wants to merge 3 commits into
developfrom
feature/chatbot-init
Open

feat(chatbot): implement chatbot module flow with session management#22
IsraaXx wants to merge 3 commits into
developfrom
feature/chatbot-init

Conversation

@IsraaXx

@IsraaXx IsraaXx commented Jun 30, 2026

Copy link
Copy Markdown
Member

Summary

This PR introduces the core backend infrastructure for the Spendoo AI Chatbot. It handles user-bot conversations, updates the session summary to maintain context.

Key Changes

  • Endpoints Added:
    • POST /api/v1/chatbot/send: Accepts user messages, saves them, generates a mock bot reply, and updates the session summary.
    • GET /api/v1/chatbot/history: Retrieves the chat history ordered by timestamp (Ascending), fully supporting pagination.
    • DELETE /api/v1/chatbot/clear: Deletes all messages in the current session and resets the AI summary memory without deleting the session ID.

@IsraaXx IsraaXx self-assigned this Jun 30, 2026

@Eng-AmanyMohamed Eng-AmanyMohamed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great Work Israa ❤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants