Mirror of khoj from Github
Find a file
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
.github Remove tools cache in dockerize.yml workflow 2024-09-29 00:27:37 -07:00
documentation Fix link to llama-cpp-python setup docs 2024-10-09 01:30:33 -07:00
scripts Update bump version script to bump new next.js web app version too 2024-08-05 16:20:47 +05:30
src Simplify switching chat model when self-hosting (#934) 2024-10-12 19:58:05 -07:00
tests Intelligently initialize a decent default set of chat model options 2024-09-19 20:32:08 -07:00
.dockerignore Use pypi khoj to fix docker builds and dockerize github workflow 2023-02-19 01:57:01 -06:00
.gitattributes Exclude tests data file from programming stats on Github 2023-08-28 11:00:52 -07:00
.gitignore Cycle through chat history in chat input on Obsidian (#861) 2024-08-12 23:55:25 -07:00
.pre-commit-config.yaml Add isort to the pre-commit configuration and apply it to the whole project (#595) 2023-12-28 18:04:02 +05:30
docker-compose.yml Intelligently initialize a decent default set of chat model options 2024-09-19 20:32:08 -07:00
Dockerfile Reduce size of Khoj Docker images by removing layers and caches 2024-09-29 04:06:35 -07:00
gunicorn-config.py Bump gunicorn workers per server up to 2 2024-04-18 11:32:51 +05:30
LICENSE Change license to GNU AGPLv3 from GNU GPLv3 2023-11-16 11:14:06 -08:00
manifest.json Release Khoj version 1.25.0 2024-10-10 18:07:30 -07:00
prod.Dockerfile Reduce size of Khoj Docker images by removing layers and caches 2024-09-29 04:06:35 -07:00
pyproject.toml Remove unused langchain openai server dependency 2024-09-29 04:06:35 -07:00
pytest.ini Move the django app into the src/khoj folder for better organization and functionality 2023-11-21 10:56:04 -08:00
README.md Update readme.md 2024-10-06 12:26:53 -07:00
versions.json Release Khoj version 1.25.0 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.