You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker-compose.yml
+4-12
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@ services:
6
6
POSTGRES_USER: postgres
7
7
POSTGRES_PASSWORD: postgres
8
8
POSTGRES_DB: postgres
9
-
networks:
10
-
- default
11
9
volumes:
12
10
- khoj_db:/var/lib/postgresql/data/
13
11
healthcheck:
@@ -17,14 +15,10 @@ services:
17
15
retries: 5
18
16
sandbox:
19
17
image: ghcr.io/khoj-ai/terrarium:latest
20
-
restart: always
21
-
networks:
22
-
- default
18
+
restart: unless-stopped
23
19
search:
24
20
image: docker.io/searxng/searxng:latest
25
-
restart: always
26
-
networks:
27
-
- default
21
+
restart: unless-stopped
28
22
volumes:
29
23
- khoj_search:/etc/searxng
30
24
environment:
@@ -35,7 +29,7 @@ services:
35
29
condition: service_healthy
36
30
# Use the following line to use the latest version of khoj. Otherwise, it will build from source. Set this to ghcr.io/khoj-ai/khoj-cloud:latest if you want to use the prod image.
37
31
image: ghcr.io/khoj-ai/khoj:latest
38
-
restart: always
32
+
restart: unless-stopped
39
33
# Uncomment the following line to build from source. This will take a few minutes. Comment the next two lines out if you want to use the official image.
40
34
# build:
41
35
# context: .
@@ -45,11 +39,9 @@ services:
45
39
# change the port in the args in the build section,
46
40
# as well as the port in the command section to match
Copy file name to clipboardExpand all lines: documentation/docs/advanced/admin.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ For each AI Model API you [add](http://localhost:42110/server/admin/database/aim
47
47

48
48
49
49
### Search Model Configs
50
-
Search models are used to generate vector embeddings of your documents for natural language search and chat. You can choose any [embeddings models on HuggingFace](https://huggingface.co/models?pipeline_tag=sentence-similarity) to try, use for your to create vector embeddings of your documents for natural language search and chat.
50
+
Search models are used to generate vector embeddings of your documents for natural language search and chat. You can choose any [embeddings models on HuggingFace](https://huggingface.co/models?pipeline_tag=sentence-similarity) to create vector embeddings of your documents for natural language search and chat.
51
51
52
52
<img src="/img/example_search_model_admin_settings.png" alt="Example Search Model Settings" style={{width: 500}} />
53
53
@@ -64,11 +64,14 @@ Add speech to text models with these settings. Khoj currently only supports whis
64
64
### Voice Model Options
65
65
Add text to speech models with these settings. Khoj currently supports models from [ElevenLabs](https://elevenlabs.io/).
66
66
67
+
### Reflective Questions
68
+
This is a static list of starter question suggestions for each user. It is not current used in any client app. It used to be shown on the web app home page. We may turn it into a dynamic list of starter questions personalized to each users, say based on their recent conversations or synced knowledge base.
69
+
67
70
## User Data
68
71
- Users, Entrys, Conversations, Subscriptions, Github configs, Notion configs, User search configs, User conversation configs, User voice configs
69
72
70
73
## Miscellaneous Data
71
74
- Process Locks: Persistent Locks for Automations
72
75
- Client Applications:
73
76
74
-
Client applications allow you to setup third party applications that can query your Khoj server using a client application ID + secret. The secret would go in a bearer token.
77
+
Client applications allow you to setup third party applications that can query your Khoj server using a client application ID + secret. The secret would go in a bearer token.
The Github integration allows you to index as many repositories as you want. It's currently default configured to index Issues, Commits, and all Markdown/Org files in each repository. For large repositories, this takes a fairly long time, but it works well for smaller projects.
3
+
:::warning[Unmaintained]
4
+
The Github integration is not maintained. We are considering deprecating it. It doesn't seem used by many folks and its cumbersome for us to maintain.
5
+
:::
6
+
7
+
The Github integration allows you to index as many repositories as you want. It's currently default configured to index all Markdown/Org/Text files in each repository. For large repositories, this takes a fairly long time, but it works well for smaller projects.
4
8
5
9
# Configure your settings
6
10
@@ -9,6 +13,6 @@ The Github integration allows you to index as many repositories as you want. It'
9
13
## Use the Github plugin
10
14
11
15
1. Generate a [classic PAT (personal access token)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) from [Github](https://github.com/settings/tokens) with `repo` and `admin:org` scopes at least.
12
-
2. Navigate to [https://app.khoj.dev/settings#github](https://app.khoj.dev/settings#github) to configure your Github settings. Enter in your PAT, along with details for each repository you want to index.
16
+
2. Navigate to [https://app.khoj.dev/settings#github](https://app.khoj.dev/settings/content/github) to configure your Github settings. Enter in your PAT, along with details for each repository you want to index.
13
17
3. Click `Save`. Go back to the settings page and click `Configure`.
14
18
4. Go to [https://app.khoj.dev/](https://app.khoj.dev/) and start searching!
0 commit comments