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.
Prepare Khoj with multi-user support for Khoj Cloud
Details
Add first run experience to configure Khoj via khoj CLI
Improve Web app settings page: Move files data into content section card. Move content index update button(s) to content section
Improve OpenAI chat prompts
Push more general information for OpenAI models into system prompt
Make it more aware of it's current capabilities
Weaken asking follow-up questions
Rate-limit calls to the chat API
Add back search results quality threshold
Normalize quality score definitions across cross_encoder, encoder to distance metric
1a56344f12fdc0ad333af707d22e75e2522d1166: remove reference to deprecated button
e62788ad7909fb90a18af484b75bd90af93104fa: await result of the search query
cec932d88ae78d6b0df1ecc9e72333f5bb70d7d6: update GPT's system prompt so that it's more aware of its capabilities
Saw the following stack trace in the Langchain code path, fixed by allowing the Docker image to rebuild with a later package version. Refer langchain 0.0.334 release
Exception in thread Thread-542 (llm_thread):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/app/src/khoj/processor/conversation/openai/utils.py", line 82, in llm_thread
chat = ChatOpenAI(
File "/usr/local/lib/python3.10/dist-packages/langchain/load/serializable.py", line 97, in __init__
super().__init__(**kwargs)
File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__
File "pydantic/main.py", line 1076, in pydantic.main.validate_model
File "pydantic/fields.py", line 860, in pydantic.fields.ModelField.validate
pydantic.errors.ConfigError: field "request_timeout" not yet prepared so type is still a ForwardRef, you might need to call ChatOpenAI.update_forward_refs().
Overview
Prepare Khoj with multi-user support for Khoj Cloud
Details
khoj
CLIchat
API