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

Add Toggle to Switch Between Graph Search and AI Chat #2665

Open
1 task
tomsmith8 opened this issue Feb 6, 2025 · 4 comments · May be fixed by #2675
Open
1 task

Add Toggle to Switch Between Graph Search and AI Chat #2665

tomsmith8 opened this issue Feb 6, 2025 · 4 comments · May be fixed by #2675
Assignees
Labels

Comments

@tomsmith8
Copy link
Contributor

tomsmith8 commented Feb 6, 2025

Task

Description

We need to introduce a toggle allowing users to switch between Graph Search and AI Chat. This will enhance flexibility in how users interact with the system.

Loom Example & Design Prototype

Requirements & Implementation Steps

  1. Add AI Chat Component

    • Implement a new AI Chat component within the search interface.
  2. Implement Toggle for Search Mode

    • Use new AI Chat component that lets users seamlessly switch between Graph Search and AI Chat.
  3. Enhance AI Chat Functionality

    • When AI Chat mode is selected, graph search is moved to the right dynamically and should have a slick animation
    • Ensure that initiating an AI chat search renders the normal question and answer flow (same func. as triggering a chat from the sidebar)
  4. Enable New AI Chat Sessions

    • Users should be able to ask a new question, initiating a fresh AI chat session if they input a new question in the AI chat input field
  5. Ensure Smooth Mode Switching

    • Users must be able to switch back to Graph Search
  6. Update Filter Component

    • Modify the filter component to accommodate the new AI Chat toggle and match Figma design

Outcome

This enhancement provides users with the ability to toggle between different search modes, ensuring a more interactive and adaptable experience.

Acceptance Criteria

  • Icon and components should match Figma exactly along with the functionality
@saithsab877
Copy link
Contributor

@tomsmith8 Please assign me?

@MuhammadUmer44
Copy link
Contributor

@tomsmith8 I can help?

@tomsmith8 tomsmith8 changed the title Add chat toggle to search bar Add Toggle to Switch Between Graph Search and AI Chat Feb 6, 2025
@Shoaibdev7
Copy link
Contributor

@tomsmith8 Could you assign me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants