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.
This feature includes thumbs up and thumbs down buttons on Khoj's chat responses that provide automated feedback. When a thumbs up/down button is clicked, the code sends an email to team@khoj.dev with the following:
user query
khoj's response
whether the sentiment of the user was good or bad.
This is critical in improving Khoj's nondeterministic LLM model for a better user experience.
List of Changes
new endpoint in api_chat.py (/feedback) that can be used to trigger mail sending).
thumbs up and thumbs down buttons implemented in chat.html
new function in routers/email.py to handle feedback email sending via resend
feedback.html template for a formatted email with the feedback.
Description and Rationale for Changes
This feature includes thumbs up and thumbs down buttons on Khoj's chat responses that provide automated feedback. When a thumbs up/down button is clicked, the code sends an email to team@khoj.dev with the following:
This is critical in improving Khoj's nondeterministic LLM model for a better user experience.
List of Changes
api_chat.py
(/feedback) that can be used to trigger mail sending).chat.html
routers/email.py
to handle feedback email sending via resendfeedback.html
template for a formatted email with the feedback.Demo Images