khoj/documentation/docs/clients/whatsapp.md
sabaimran f3ce47b445
Create explicit flow to enable the free trial (#944)
* Create explicit flow to enable the free trial

The current design is confusing. It obfuscates the fact that the user is on a free trial. This design will make the opt-in explicit and more intuitive.

* Use the Subscription Type enum instead of hardcoded strings everywhere

* Use length of free trial in the frontend code as well
2024-10-23 15:29:23 -07:00

1.8 KiB

sidebar_position
5

WhatsApp

Query your Second Brain from WhatsApp

Text +1 (848) 800 4242 or scan the QQ code below on your phone to chat with Khoj on WhatsApp.

Without any desktop clients, you can start chatting with Khoj on WhatsApp. Bear in mind you do need one of the desktop clients in order to share and sync your data with Khoj. The WhatsApp AI bot will work right away for answering generic queries and using Khoj in default mode.

In order to use Khoj on WhatsApp with your own data, you need to setup a Khoj Cloud account and connect your WhatsApp account to it. This is a one time setup and you can do it from the Khoj Cloud config page.

If you hit usage limits for the WhatsApp bot, upgrade to a paid plan on Khoj Cloud.

WhatsApp QR Code

Features

  • Slash Commands: Use slash commands to quickly access Khoj features
    • /online: Get responses from Khoj powered by online search.
    • /dream: Generate an image in response to your prompt.
    • /notes: Explicitly force Khoj to retrieve context from your notes. Note: You'll need to connect your WhatsApp account to a Khoj Cloud account for this to work.

We have more commands under development, including /share to uploading documents directly to your Khoj account from WhatsApp, and /speak in order to get a speech response from Khoj. Feel free to raise an issue if you have any suggestions for new commands.

Source Code

You can find all of the code for the WhatsApp bot in the the flint repository. As all of our code, it is open source and you can contribute to it.