Debanjum Singh Solanky 0685a79748 Remove any markdown json codeblock in chat actors expecting json responses
Strip any json md codeblock wrapper if exists before processing
response by output mode, extract questions chat actor. This is similar
to what is already being done by other chat actors

Useful for succesfully interpreting json output in chat actors when
using non (json) schema enforceable models like o1 and gemma-2

Use conversation helper function to centralize the json md codeblock
removal code
2024-09-12 18:26:15 -07:00
2024-08-25 17:05:47 -07:00
2024-09-12 12:39:04 -07:00
2024-09-12 12:39:04 -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! 🌈

Description
No description provided
Readme AGPL-3.0 116 MiB
Languages
Python 51%
TypeScript 36.1%
CSS 4.1%
HTML 3.2%
Emacs Lisp 2.4%
Other 3.1%