Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.
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.
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."
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.
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 :
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.
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
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.
If I click on the “minus” it will make the brain/ files or prompt disappear from my question bar.
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.
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 :
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 :
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)
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 #849 )
c (optional -> keep it for UX 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
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.
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."
HOME PAGE FIRST TIME
AAUser, when I arrive on the homepage (chat) for the first time I can see :
QUESTION BAR
QUESTION BAR BEHAVIOUR
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.
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
If I click on the “minus” it will make the brain/ files or prompt disappear from my question bar.
NO BRAIN
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 :
Other
The how
1- AAU, when I arrive on a fresh chat, I have a new UI:
2- AAU, when I am chatting, i have a new UI for the dialog:
3- AAU, i can select a brain in the question bar:
4- AAU, I can chat without a brain:
5- AAU, i can select a prompt in the question bar:
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