forked from onyx-dot-app/onyx
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
55 additions
and
36 deletions.
There are no files selected for viewing
37 changes: 4 additions & 33 deletions
37
backend/danswer/document_index/vespa/app_config/hosts-dev.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> | ||
<hosts> | ||
<host name='vespa-configserver-0.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>config0</alias> | ||
<host name="index"> | ||
<alias>danswer-node</alias> | ||
</host> | ||
<host name='vespa-configserver-1.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>config1</alias> | ||
</host> | ||
<host name='vespa-configserver-2.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>config2</alias> | ||
</host> | ||
<host name='vespa-admin-0.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>admin0</alias> | ||
</host> | ||
<host name='vespa-feed-container-0.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>feed0</alias> | ||
</host> | ||
<host name='vespa-feed-container-1.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>feed1</alias> | ||
</host> | ||
<host name='vespa-query-container-0.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>query0</alias> | ||
</host> | ||
<host name='vespa-query-container-1.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>query1</alias> | ||
</host> | ||
<host name='vespa-content-0.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>content0</alias> | ||
</host> | ||
<host name='vespa-content-1.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>content1</alias> | ||
</host> | ||
<host name='vespa-content-2.vespa-internal.darwin-dev.svc.cluster.local'> | ||
<alias>content2</alias> | ||
</host> | ||
</hosts> | ||
</hosts> |
36 changes: 36 additions & 0 deletions
36
backend/danswer/document_index/vespa/app_config/services-dev.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<services version="1.0"> | ||
<container id="default" version="1.0"> | ||
<document-api/> | ||
<search/> | ||
<http> | ||
<server id="default" port="8081"/> | ||
</http> | ||
<nodes> | ||
<node hostalias="danswer-node" /> | ||
</nodes> | ||
</container> | ||
<content id="danswer_index" version="1.0"> | ||
<redundancy>1</redundancy> | ||
<documents> | ||
<!-- <document type="danswer_chunk" mode="index" /> --> | ||
DOCUMENT_REPLACEMENT | ||
</documents> | ||
<nodes> | ||
<node hostalias="danswer-node" distribution-key="0" /> | ||
</nodes> | ||
<tuning> | ||
<resource-limits> | ||
<!-- Default is 75% but this can be increased for Dockerized deployments --> | ||
<!-- https://docs.vespa.ai/en/operations/feed-block.html --> | ||
<disk>0.75</disk> | ||
</resource-limits> | ||
</tuning> | ||
<config name="vespa.config.search.summary.juniperrc"> | ||
<max_matches>3</max_matches> | ||
<length>750</length> | ||
<surround_max>350</surround_max> | ||
<min_length>300</min_length> | ||
</config> | ||
</content> | ||
</services> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters