khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.63k stars 640 forks source link

Use Turnstyle UX pattern to group Khoj chats into conversation turns #875

Closed debanjum closed 1 week ago

debanjum commented 1 month ago

A conversation turn is defined as a single back and forth between the user and AI agent.

A typical user - agent chat interaction is more strongly coupled into as request - response pair than a typical chat message interaction between humans.

Turnstyle pattern emphasizes this natural coupling of the request, response pairs by grouping a conversation turn more strongly together than the older, more typical chat bubble UX.

In this UX paradigm, we render each user's query and AI's response into a section heading, section content respectively for a cleaner, more natural demarcation of a single interaction

Note: This is an experimental new UX pattern