File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ payloadProcessor :
2+ # Models to seed into the datastore at startup. The chart renders these into
3+ # a models.json file inside the configmap, which the model-config-datasource
4+ # plugin (configured below) reads from /config/models.json.
5+ listModels :
6+ - your-model-A
7+ - your-model-B
8+ customConfig :
9+ plugins :
10+ - type : body-field-to-header
11+ parameters :
12+ fieldName : model
13+ headerName : X-Gateway-Model-Name
14+ - type : base-model-to-header
15+ - type : model-selector
16+ - type : avg-ttft-scorer
17+ - type : max-score-picker
18+ - type : request-metadata-extractor
19+ - type : model-config-datasource
20+ parameters :
21+ modelsPath : /config/models.json
22+ profiles :
23+ - name : default
24+ plugins :
25+ request :
26+ - pluginRef : model-selector
27+ - pluginRef : avg-ttft-scorer
28+ weight : 1.0
29+ - pluginRef : max-score-picker
30+ - pluginRef : body-field-to-header
31+ - pluginRef : base-model-to-header
32+ datalayer :
33+ extractors :
34+ - pluginRef : request-metadata-extractor
35+ datasources :
36+ - pluginRef : model-config-datasource
Original file line number Diff line number Diff line change 1+ payloadProcessor :
2+ # Models to seed into the datastore at startup. The chart renders these into
3+ # a models.json file inside the configmap, which the model-config-datasource
4+ # plugin (configured below) reads from /config/models.json.
5+ listModels :
6+ - your-model-A
7+ - your-model-B
8+ customConfig :
9+ plugins :
10+ - type : body-field-to-header
11+ parameters :
12+ fieldName : model
13+ headerName : X-Gateway-Model-Name
14+ - type : base-model-to-header
15+ - type : model-selector
16+ - type : inflight-requests-scorer
17+ - type : max-score-picker
18+ - type : request-metadata-extractor
19+ - type : model-config-datasource
20+ parameters :
21+ modelsPath : /config/models.json
22+ profiles :
23+ - name : default
24+ plugins :
25+ request :
26+ - pluginRef : model-selector
27+ - pluginRef : inflight-requests-scorer
28+ weight : 1.0
29+ - pluginRef : max-score-picker
30+ - pluginRef : body-field-to-header
31+ - pluginRef : base-model-to-header
32+ datalayer :
33+ extractors :
34+ - pluginRef : request-metadata-extractor
35+ datasources :
36+ - pluginRef : model-config-datasource
You can’t perform that action at this time.
0 commit comments