aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/application/embed_generic/services.xml
blob: d02d75205bb61efb1c92dc9c3fa942e2827162bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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">

  <container version="1.0">

    <component id='transformer'
               class='ai.vespa.example.paragraph.ApplicationSpecificEmbedder'
               bundle='exampleEmbedder'>
      <config name='ai.vespa.example.paragraph.sentence-embedder'>
        <model model-id="minilm-l6-v2" url="application-url" />
        <vocab path="files/vocab.txt"/>
        <myValue>foo</myValue>
      </config>
    </component>

    <nodes>
      <node hostalias='node1'/>
    </nodes>
  </container>

</services>