mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-19 10:57:45 +00:00
586654e2af
### Overview Khoj can now read website directly without needing to go through the search step first ### Details - Parallelize simple webpage read and extractor - Rename extract_content online results field to web pages - Tweak prompts to extract information from webpages, online results - Test select webpage as data source and extract web urls chat actors - Render webpage read in chat response references on Web, Desktop apps - Pass multiple webpages with their urls in online results context - Support webpage command in chat API - Add webpage chat command for read web pages requested by user - Create chat actor for directly reading webpages based on user message |
||
---|---|---|
.. | ||
assets | ||
about.html | ||
chat.html | ||
config.html | ||
loading-animation.js | ||
main.js | ||
package.json | ||
preload.js | ||
README.md | ||
renderer.js | ||
search.html | ||
splash.html | ||
todesktop.json | ||
utils.js | ||
yarn.lock |
Run it locally
Prerequisites
Install the runtime dependencies. This command should install all dev dependencies.
yarn add
Run the application
yarn start
Deploying the Electron App
Prerequisites
Install the ToDesktop CLI. Full documentation can be found here: https://www.npmjs.com/package/@todesktop/cli
yarn global add @todesktop/cli
Configure the todesktop.json
file. Fill in the id
based on the application ID.
Build
This will prompt you to login. It triggers builds for all platforms.
todesktop build
If you get an error saying the command is not found, make sure that your yarn
global bin directory is in your PATH
environment variable. You can find the location of the global bin directory by running yarn global bin
. Add this line to your .bashrc
or .zshrc
file: export PATH="$PATH:$(yarn global bin)"
.