sabaimran
9b991eb4fe
Migrate to using docusaurus, rather than docsify for documentation ( #603 )
...
* Add docusaurus documentation (to replace the docsify setup
* Remove older docs
* Specify documentation as the gh pages build action working directory
2024-01-07 20:28:15 +05:30
Debanjum Singh Solanky
98081bc0d3
Update Uninstall Documentation for Khoj Server when Self Hosting
2024-01-06 01:37:29 +05:30
Debanjum Singh Solanky
5d52dc5b35
Fix spelling in the development documentation for Khoj
2024-01-04 19:24:58 +05:30
Debanjum Singh Solanky
b6d5392c0c
Release Khoj version 1.2.1
2024-01-04 18:45:37 +05:30
Debanjum Singh Solanky
fca7a5ff32
Push 1000 files at a time from the Obsidian client for indexing
...
FastAPI API endpoints only support uploading 1000 files at a time.
So split all files to index into groups of 1000 for upload to
index/update API endpoint
2024-01-04 18:43:22 +05:30
Debanjum Singh Solanky
4ded32cc64
Test 1000 file upload limit to index/update API endpoint
...
Due to FastAPI limitation
2024-01-03 22:14:36 +05:30
Debanjum Singh Solanky
4a234c8db3
Use default offline/openai chat model to extract DB search queries
...
Make usage of the first offline/openai chat model as the default LLM
to use for background tasks more explicit
The idea is to use the default/first chat model for all background
activities, like user message to extract search queries to perform.
This is controlled by the server admin.
The chat model set by the user is used for user-facing functions like
generating chat responses
2024-01-03 14:04:49 +05:30
Debanjum Singh Solanky
e28adf2884
Also index pdf, markdown and plaintext files using khoj emacs client
...
Previously you could only index org-mode files and directories from
khoj.el
Mark the `khoj-org-directories', `khoj-org-files' variables for
deprecation, since `khoj-index-directories', `khoj-index-files'
replace them as more appropriate names for the more general case
Resolves #597
2024-01-03 11:46:17 +05:30
Debanjum Singh Solanky
5abaed9d08
Use user chosen OpenAI model to extract DB search questions from query
...
Previously Khoj was selecting the first OpenAI model configured on
server and not the OpenAI model configured by the user for themselves
2024-01-03 11:45:06 +05:30
Debanjum Singh Solanky
e582639efa
Move contributing section back down in sidebar of documentation website
2024-01-03 11:40:14 +05:30
Debanjum Singh Solanky
05536aab6b
Merge how users can share personal information in personality prompt
2024-01-03 11:40:14 +05:30
Liam Swayne
455f78b178
Replace var declarations with let declarations ( #576 )
...
* Replace var declaration with let declaration
2023-12-29 10:20:48 +05:30
sabaimran
79913d4c17
Add isort to the pre-commit configuration and apply it to the whole project ( #595 )
...
* Apply isort to the entire repository
* Fix missing import issues in text_to_entries
* Fix imports in migration files
2023-12-28 18:04:02 +05:30
sabaimran
738f050086
Merge pull request #587 from khoj-ai/features/search-model-options-custom
...
Support multiple search models, with ability for custom user config
2023-12-28 13:09:49 +05:30
sabaimran
442c913de3
Update telemetry state for search model only if one is found, fix alt text for language setting
2023-12-28 12:53:53 +05:30
sabaimran
d3ab3f1b70
Rename matrix_blog to web and move the language setting into the content section
2023-12-28 12:44:49 +05:30
sabaimran
6946e038c2
Merge pull request #596 from khoj-ai/chore/add-developer-documentation
...
Improve the developer documentation
2023-12-23 18:43:43 +05:30
sabaimran
00af6baeb6
Resolve merge conflicts with intro message in chat.html web view
2023-12-23 17:52:58 +05:30
sabaimran
c10602b6c5
Put contributing higher in the sidebar
2023-12-23 14:04:53 +05:30
sabaimran
fe415e1508
Add tip for using the good-first-issue tag in GH issues
2023-12-23 14:04:05 +05:30
sabaimran
3280715ca0
Update contributor guidelines
...
- Add more accurate steps for building Khoj locally
- Remove outdated instructions
- Add specific steps to create a Github Issue
- Add instructions for Obsidian plugin development
2023-12-23 14:00:52 +05:30
sabaimran
afec4394f9
Merge pull request #592 from ayushjha119/Fixed-Health-Check-to-Khoj-api
...
Fixed health check to khoj api
2023-12-23 13:04:50 +05:30
sabaimran
c50eb8a691
Fix mypy/pre-commit issues
2023-12-23 11:44:37 +05:30
Debanjum Singh Solanky
21c55b4c0d
Release Khoj version 1.2.0
2023-12-22 21:43:47 +05:30
Debanjum Singh Solanky
e42111a8af
Fix bump_version.sh to commit, clean-up after desktop app version bump
2023-12-22 21:42:03 +05:30
Debanjum Singh Solanky
6a8c1fe423
Sanitize rendering chat references in Web, Desktop and Obsidian clients
...
Use textContent instead of innerHTML to append references
Resolves #583
2023-12-22 18:11:49 +05:30
Debanjum
6879daccc6
Fix Chat Streaming on Obsidian, Docker Image Version and First-Run, Chat Error Messages in Clients ( #589 )
...
- Fix streaming chat response in Obsidian client
- Fix first-run, chat error message in obsidian, desktop and web clients
- Set Khoj app version to latest version in Docker images
- Tag Khoj Docker image built on release with the `latest` tag
This align docker image release cadence with client, server releases
2023-12-22 04:13:01 -08:00
Debanjum Singh Solanky
074123b9b9
Merge cloud, local dockerize workflows
...
- Delete unused config directory
2023-12-22 17:11:52 +05:30
Debanjum Singh Solanky
d101297995
Use markdown formatted chat message in chat modal
2023-12-22 17:01:31 +05:30
Debanjum Singh Solanky
350fd89c8d
Clear chat history html in Obsidian if getChatHistory works too
2023-12-22 17:01:31 +05:30
Debanjum Singh Solanky
8d1e988059
Update tagging of the docker image on release, push to master & PR
...
- Tag docker image with `tag_name' on release (i.e tag push)
- Else tag with 'pre' on push to master
- Else tag with 'dev' on push to PR branch
- Only tag the latest release with release tag
Previously the latest commit on master was being tagged with the
latest tag. This doesn't sync with the release cadence of the rest
of Khoj
2023-12-22 17:01:31 +05:30
Debanjum Singh Solanky
b5ae64cb3c
Dynamically set Khoj app version in the Dockerization Github workflows
2023-12-22 17:01:31 +05:30
Debanjum Singh Solanky
d3d47dce0b
Allow setting Khoj app version during docker build via build-args
...
This will allow troubleshooting by getting the actual khoj version
being used. Previously it was always set to a static 0.0.0 version
Command to build Khoj docker image with dynamically set current app version:
`docker-compose build server --build-arg VERSION=$(pipx run hatch version)'
2023-12-22 16:47:13 +05:30
ayushjha119
e487ec5370
fixed app to api health Check
2023-12-21 17:51:30 +05:30
Debanjum Singh Solanky
70607cbbbb
Update FRE message to get any Khoj client to sync files with server
2023-12-21 15:23:47 +05:30
ayushjha119
b3d7d6a79d
used the Response class from fastapi.responses and set the input for status_code to 200
2023-12-21 14:26:40 +05:30
sabaimran
e1aaff2053
Add more details about functionality in Khoj's intro message
2023-12-21 10:09:30 +05:30
sabaimran
a1211f40d7
Fix type declaration for the cross_encoder_model state variable. Update name of the new update API
2023-12-21 09:15:13 +05:30
sabaimran
089e4bee12
FIx unit tests with new search model configurations
2023-12-20 21:50:44 +05:30
Debanjum Singh Solanky
447c1b90e7
Fix streaming chat response in Obsidian client
...
- Convert renderIncrementalMessage to an async method as
MarkdownRenderer is an async method
- Simplify code, remove unneeded JSON check
2023-12-20 14:51:19 +05:30
sabaimran
aa23da60a3
Add a notification banner to show temporary messages
2023-12-20 14:22:08 +05:30
Debanjum Singh Solanky
e04fe921eb
Fix first-run, chat error message in obsidian, desktop and web clients
...
- Disable chat input field if getChatHistory had error as Khoj may not
be setup correctly to chat
2023-12-20 14:03:07 +05:30
sabaimran
5ff9df9d4c
Add support per user for configuring the preferred search model from the config page
...
- Honor this setting across the relevant places where embeddings are used
- Convert the VectorField object to have None for dimensions in order to make the search model easily configurable
2023-12-20 13:25:43 +05:30
sabaimran
0f6e4ff683
Add a model that specifies the user's search model configuration
...
- Update all endpoints that generate embeddings to use the new model. Incl. generating text embeddings, creating embeddings for a search query
2023-12-20 09:22:26 +05:30
sabaimran
6dd2b05bf5
Rebase with master
2023-12-19 21:02:49 +05:30
sabaimran
e3557cd8b7
Update the personality prompt to make Khoj aware that users can share data via the desktop app
2023-12-19 16:42:45 +05:30
sabaimran
927e477f68
Ignore typing error in custom action short description
2023-12-19 16:10:58 +05:30
sabaimran
946305d977
Add function to export conversations for debugging
2023-12-19 16:05:20 +05:30
sabaimran
903a01745f
Use 0px for padding for input row buttons in web
2023-12-18 16:09:06 +05:30
sabaimran
1e14a24f06
Merge pull request #586 from khoj-ai/features/misc-image-and-online-improvements
...
Improvements to chat functionality and image generation
2023-12-17 23:28:08 +05:30