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

[UX Chat] #779

Closed
7 tasks
Chloeroumengas opened this issue Jul 26, 2023 · 1 comment
Closed
7 tasks

[UX Chat] #779

Chloeroumengas opened this issue Jul 26, 2023 · 1 comment
Labels
epic Used to tag the issue describing the whole epic Stale
Milestone

Comments

@Chloeroumengas
Copy link

Chloeroumengas commented Jul 26, 2023

The why

The Chat is the Homepage of Quivr. It is an intuitive, simple, and minimalist interface that serves as the focal point for all Quivr's functionalities. Everything can be made from this single place.

Image

Image

The what

In Quivr, we have no more than just the chat as the central element. And two icons at the top right: "brain management" and "users."

Image

HOME PAGE FIRST TIME

AAUser, when I arrive on the homepage (chat) for the first time I can see :

  • An empty screen with the keyboard shortcuts written (see image ⇒ Same design)
  • These are non clickable
  • They will disappear as soon as I ask my first question (I have written a question and then type enter)
  • This screen will reappear anytime if I press “commande K”

QUESTION BAR

  • A question bar to talk with my brains, files and choose a prompt.

Image

  • The question bar have a placeholder saying ‘ask a question to “@ brains of / files and choose a # prompt”
  • If I click on the question bar, the place holder disappear.
  • I can write a question and then press enter.
  • When I press enter, the question is in the chat and I can see the placeholder in the question bar reappear
  • The question bar has a floating design with light shadows
  • The question bar has 2 buttons : the “+” for knwoledge upload on the left and the wheel on the right

QUESTION BAR BEHAVIOUR

  • AAUser, I can talk with my brains / files and choose a prompt in the “question bar” questions :

Image

Image

Image

When I click @, I can see the list of all my existing brains and a button “create new brain”. Same when I click on / for files or # for prompt.

Image

If I select a brain, I can see it’s added in my question bar. I can then write a question and the answer will be made by the brain. Same for files and prompt

Image

  • I can see that the brain I chose is written above every question and answers related to this brain, in grey. Same for files and prompt
  • Anytime I want to ask a new question, the previous brain, prompt and files I chosed are still tagged in the question bar.

Image

If I click on the “minus” it will make the brain/ files or prompt disappear from my question bar.

Image

  • If I click on “create a new brain”, I can see the popup to create a brain appears. And this brain will be automatically selected in the question bar.

Image

  • If I click on the “share” icone, the popup share appears and I can share the brain with people.
  • If I click on “add new files” I am redirected to the manage brains page on the “knowledge tab from this brain
  • If I click on “create new prompt” I am redirected the manage brains page on the “settings” tab

NO BRAIN

  • AAUser, if I ask a question without selecting a brain in the question bar :

Image

  • The tag in grey is “@brainless

  • I have a message in blue centered in the page saying “You are now on “Brainless” mode. To talk with a brain, type @BrainName in the question bar"

  • and then there is the answer from the brainless after this message

  • AAUser, if I ask a question to a brain while I asked the brainless mode before, I have a notification :

Image

Other

  • AAUser, when I arrive on the homepage (chat) for the second time, if I already used the chat, I can see my previous conversations.
  • AAUser, I can see the chat design is the same as in the images (light purple for brains, grey for me, full screen, whatsapp style, simple, minimalist)

Image

The how

1- AAU, when I arrive on a fresh chat, I have a new UI:

  • a - Dialogue: AAU, I can see keyboard shortcuts as a placeholder for the empty dialog (with feature flag)
  • b - QuestionBar:
    • New place holder message
    • See the selected brain
    • AAU, when I click on '+' in the question bar, I am redirected to upload page (to do in next epic [UX knowledge upload] #849 )
  • c (optional -> keep it for UX upload [UX knowledge upload] #849 ): - Upload page turns into a modal with a close 'X'
    • Upload page has a "chat", on click on that or on "x" -> modal is closed and we get back to the selected chat

2- AAU, when I am chatting, i have a new UI for the dialog:

  • a - AABE, I can store the brain and the prompt used for a question and its answer in the chat hsitory
  • b - AAU, when I chat, I can see the selected brain in the dialog + in the question bar
  • c - UI of the dialog: position + colors + see brain/prompt

3- AAU, i can select a brain in the question bar:

  • AAU, i have an error message when no brain is selected (will change next)
  • AAU, i can set a brain in the question:
  • AAU, i can delete the already selected brain

4- AAU, I can chat without a brain:
- a - AABE, I can answer without a brain
- b - AAU, i can ask a question without selecting a brain
- c - AAU, i can remove a brain and ask question without it

5- AAU, i can select a prompt in the question bar:

  • AABE, the prompt from the question can override the brain prompt
  • AAU, i can set a prompt in the question
  • AAU, i can delete the already selected prompt

6- AAU, i can select a file in particular within my brain/brains @Chloeroumengas -> Another epic https://github.com/users/StanGirard/projects/5/views/2?pane=issue&itemId=35321567

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.

@github-actions github-actions bot added the Stale label Sep 9, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Used to tag the issue describing the whole epic Stale
Projects
None yet
Development

No branches or pull requests

1 participant