Mirror of khoj from Github
Find a file
Debanjum Singh Solanky 37b8fc5577 Extract events even when http chunk contains partial or mutiple events
Previous logic was more brittle to break with simple unbalanced
'{' or '}' string present in the event data. This method of trying to
identify valid json obj was fairly brittle. It only allowed json
objects or processed event as raw strings.

Now we buffer chunk until we see our unicode magic delimiter and only
then process it.

This is much less likely to break based on event data and the
delimiter is more tunable if we want to reduce rendering breakage
likelihood further
2024-07-24 17:17:39 +05:30
.github Migrate the pypi package to khoj project name. Update references 2024-07-17 10:41:16 +05:30
documentation Migrate the pypi package to khoj project name. Update references 2024-07-17 10:41:16 +05:30
scripts Fix Khoj Obsidian plugin build 2024-07-07 18:26:10 +05:30
src Extract events even when http chunk contains partial or mutiple events 2024-07-24 17:17:39 +05:30
tests Update chat API client tests to mix testing of batch and streaming mode 2024-07-23 17:56:03 +05:30
.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 Add developer support for using next.js to serve generated static files (#814) 2024-06-22 20:12:41 +05:30
.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 Spell fix s/e.g/e.g./ across code, tests and docs 2024-06-24 15:24:45 +05:30
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.16.0 2024-07-07 18:26:10 +05:30
prod.Dockerfile Fix Docker build issues with yarn / next /node (#859) 2024-07-19 19:11:29 +05:30
pyproject.toml Stream Status Messages via Streaming Response from server to web client 2024-07-22 15:41:21 +05:30
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 Migrate the pypi package to khoj project name. Update references 2024-07-17 10:41:16 +05:30
versions.json Release Khoj version 1.16.0 2024-07-07 18:26:10 +05:30

Khoj Logo

test dockerize pypi Discord

The open-source, personal AI for your digital brain

🤖 Read Docs   •   🏮 Khoj Cloud   •   💬 Get Involved   •   📚 Read Blog


Khoj is an application that creates always-available, personal AI agents for you to extend your capabilities.

  • You can share your notes and documents to extend your digital brain.
  • Your AI agents have access to the internet, allowing you to incorporate realtime information.
  • Khoj is accessible on Desktop, Emacs, Obsidian, Web and Whatsapp.
  • You can share pdf, markdown, org-mode, notion files and github repositories.
  • You'll get fast, accurate semantic search on top of your docs.
  • Your agents can create deeply personal images and understand your speech.
  • Khoj is open-source, self-hostable. Always.

See it in action

Khoj Demo

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! 🌈