Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(backend/shared): save all messages in ai chat to db bb-454 #541

Open
wants to merge 283 commits into
base: main
Choose a base branch
from

Conversation

marharita08
Copy link
Collaborator

@marharita08 marharita08 commented Sep 23, 2024

Summary

#454 save all messages in ai chat to db.

Added

  • migations to add chat_messages to db
  • entity, model, repository and service for chat messages

Updated

  • ai assistant service to use chat messages service to save messages to db
  • ai assistant helpers to return messages in ChatMessageCreateDto type
  • request and response types of ai assistant endpoints
  • chat.slice.ts to add chat history to the state
  • some components of chat to send text messages to backend, which should be saved to db

Screen record

chat-history

AndriiLevin and others added 30 commits September 10, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

7 participants