Mirror of khoj from Github
Find a file
sabaimran 06777e1660
Convert the default conversation id to a uuid, plus other fixes (#918)
* Update the conversation_id primary key field to be a uuid

- update associated API endpoints
- this is to improve the overall application health, by obfuscating some information about the internal database
- conversation_id type is now implicitly a string, rather than an int
- ensure automations are also migrated in place, such that the conversation_ids they're pointing to are now mapped to the new IDs

* Update client-side API calls to correctly query with a string field

* Allow modifying of conversation properties from the chat title

* Improve drag and drop file experience for chat input area

* Use a phosphor icon for the copy to clipboard experience for code snippets

* Update conversation_id parameter to be a str type

* If django_apscheduler is not in the environment, skip the migration script

* Fix create automation flow by storing conversation id as string

The new UUID used for conversation id can't be directly serialized.
Convert to string for serializing it for later execution

---------

Co-authored-by: Debanjum Singh Solanky <debanjum@gmail.com>
2024-09-24 14:12:50 -07:00
.github Fix file paths used for pypi wheel building 2024-09-22 12:42:08 -07:00
documentation Upgrade documentation package dependencies 2024-09-21 14:06:40 -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 Convert the default conversation id to a uuid, plus other fixes (#918) 2024-09-24 14:12:50 -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 Fix Docker build issues with yarn / next /node (#859) 2024-07-19 19:11:29 +05:30
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.23.3 2024-09-24 12:44:09 -07:00
prod.Dockerfile Fix Docker build issues with yarn / next /node (#859) 2024-07-19 19:11:29 +05:30
pyproject.toml Make RapidOCR dependency optional as flaky requirements 2024-09-19 15:10:31 -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 link to gif demo in README to pull from GitHub 2024-09-11 20:09:26 -07:00
versions.json Release Khoj version 1.23.3 2024-09-24 12:44:09 -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.

Sponsors

Shout out to our brilliant sponsors! 🌈