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

FEATURE: Add AI Assistant Chat Log Downloads #625

Closed
5 tasks done
JoelWiebe opened this issue Oct 27, 2024 · 0 comments · Fixed by #626
Closed
5 tasks done

FEATURE: Add AI Assistant Chat Log Downloads #625

JoelWiebe opened this issue Oct 27, 2024 · 0 comments · Fixed by #626
Labels
enhancement New feature or request

Comments

@JoelWiebe
Copy link
Contributor

JoelWiebe commented Oct 27, 2024

Feature

Overview
Add AI Assistant chat logs to database and create a download button

Details
For the AI Assistant, log all chat messages to the data base and create a download button where each teacher can download their own chat history.

Tasks

  • Create a database schema for saving chat logs, including the teacher's user ID, role (whether user or assistant), the timestamp, the board ID, and the content
  • Each time a user creates a prompt, save the prompt with the 'user' role
  • Each time the AI assistant creates a response, save the response with the 'assistant' role
  • Create a Download Chat History button in the AI assistant tab
  • When the download button is pressed, retrieve the entire chat history and save as a CSV file that is downloaded by the client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant