Debanjum c66c571396 Simplify switching chat model when self-hosting (#934)
# Overview
- Default to use user chat models for train of thought when no server chat settings created by admins
- Default to not create server chat settings on first run

# Details
This change simplifies switching chat models for self-hosted setups 
by just changing the chat model on the user settings page.

It falls back to use the user chat model for train of thought 
if server chat settings have not been created on the admin panel.

Server chat settings, when set, controls the chat model used 
for Khoj's train of thought and the default user chat model.

Previously a self-hosted user had to update
1. the server chat settings in the admin panel and
2. their own user chat model in the user settings panel

to completely switch to a different chat model 
for both train of thought & response generation respectively

You can still set server chat settings via the admin panel 
to use a different chat model for train of thought vs response generation. 
But this is only useful for advanced, multi-user setups.
2024-10-12 19:58:05 -07:00
2024-10-10 18:07:30 -07:00
2024-10-06 12:26:53 -07:00
2024-10-10 18:07:30 -07:00

Khoj Logo

test dockerize pypi Discord

The open-source, personal AI for your digital brain

📑 Docs   •   🏮 App   •   💬 Discord   •   📚 Blog


Khoj is a personal, open-source AI application for you to extend your capabilities.

  • Share your documents to extend your digital brain.
  • Access the internet, getting fresh information.
  • You can share pdf, markdown, org-mode, notion files and github repositories.
  • Fast, accurate semantic search on top of your docs.
  • Create images, talk out loud, play your messages.
  • Available Desktop, Emacs, Obsidian, Web and Whatsapp.
  • Khoj is open-source, self-hostable. Always.

See it in action

demo_chat

Go to https://app.khoj.dev to see Khoj live.

Full feature list

You can see the full feature list here.

Self-Host

To get started with self-hosting Khoj, read the docs.

Contributors

Cheers to our awesome contributors! 🎉

Made with contrib.rocks.

Interested in Contributing?

We are always looking for contributors to help us build new features, improve the project documentation, or fix bugs. If you're interested, please see our Contributing Guidelines and check out our Contributors Project Board.

Description
No description provided
Readme AGPL-3.0 116 MiB
Languages
Python 51%
TypeScript 36.1%
CSS 4.1%
HTML 3.2%
Emacs Lisp 2.4%
Other 3.1%