khoj-ai / khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
https://khoj.dev
GNU Affero General Public License v3.0
14.11k stars 703 forks source link

Have /help constrain the request to site:khoj.dev to get help #762

Closed sabaimran closed 5 months ago

sabaimran commented 5 months ago

our /help command currently just outputs a templated message with some system information. update this so that, if additional text is included in the message, it runs a query that includes site:khoj.dev in order to response to the user's question. this should work both for web sockets and the stream endpoint in api_chat. can test out the stream endpoint using the desktop application. update the description of the function accordingly (see command_descriptions).

sabaimran commented 5 months ago

774 closes this issue.