-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathservices.xml
More file actions
39 lines (35 loc) · 1.46 KB
/
services.xml
File metadata and controls
39 lines (35 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?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. -->
<services version="1.0" xmlns:deploy="vespa" xmlns:preprocess="properties"
minimum-required-vespa-version="8.311.28">
<!-- See https://docs.vespa.ai/en/reference/services-container.html -->
<container id="default" version="1.0">
<!-- See https://docs.vespa.ai/en/embedding.html#huggingface-embedder -->
<component id="e5" type="hugging-face-embedder">
<transformer-model
url="https://data.vespa-cloud.com/sample-apps-data/e5-small-v2-int8/e5-small-v2-int8.onnx" />
<tokenizer-model
url="https://data.vespa-cloud.com/sample-apps-data/e5-small-v2-int8/tokenizer.json" />
<prepend> <!-- E5 prompt instructions -->
<query>query:</query>
<document>passage:</document>
</prepend>
</component>
<document-api />
<search />
<nodes>
<node hostalias="node1" />
</nodes>
</container>
<!-- See https://docs.vespa.ai/en/reference/services-content.html -->
<content id="articles" version="1.0">
<min-redundancy>2</min-redundancy>
<documents>
<document type="wiki" mode="index" />
</documents>
<nodes>
<node hostalias="node1" distribution-key="0" />
</nodes>
</content>
</services>