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/before group stage #57

Merged
merged 2 commits into from
Dec 23, 2024
Merged

Feat/before group stage #57

merged 2 commits into from
Dec 23, 2024

Conversation

howard9199
Copy link
Contributor

  • adding a summary feature for conversation
  • adding summary in HostView

This pull request introduces several enhancements and bug fixes to the chat session components. The main changes involve adding a summary feature for conversations, refactoring the chat history modal, and improving the handling of conversation data.

Enhancements to Chat Session Components:

  • src/lib/components/session/ChatHistory.svelte: Added a new component to display chat history and conversation summaries within a modal. This includes the integration of flowbite-svelte components and a Summary component for displaying conversation summaries.
  • src/lib/components/session/Summary.svelte: Created a new Summary component to display conversation summaries and key points, with a refresh button to update the summary.

Refactoring:

Bug Fixes and Improvements:

  • src/lib/utils/firestore.ts: Improved conversation creation by checking for existing conversations before creating a new one, and fixed a typo in the collection path. [1] [2]
  • src/lib/server/llm.ts: Added validation to handle empty or malformed student opinions when summarizing concepts.

Additional Changes:

- Introduced a new Summary component to display conversation summaries and key points.
- Updated ParticipantView to show different messages based on session status, including preparation for group discussions.
- Enhanced conversation handling in Firestore to ensure unique conversation creation.
- Improved error handling in the summarization process to manage empty student opinions.

This update aims to improve user experience during group sessions by providing clear summaries and facilitating collaboration.
@howard9199 howard9199 self-assigned this Dec 23, 2024
@JacobLinCool JacobLinCool requested review from Copilot and removed request for JacobLinCool December 23, 2024 15:43

Choose a reason for hiding this comment

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

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

@howard9199 howard9199 merged commit 26fcdb7 into main Dec 23, 2024
4 checks passed
@howard9199 howard9199 deleted the feat/before-group-stage branch December 23, 2024 15:44
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.

1 participant