Skip to content

Commit c779a5f

Browse files
authored
Merge pull request #22 from stackhpc/feat/azimuth-ui-schema-improvements
Feat/azimuth UI schema improvements
2 parents 1f6c60a + 277e903 commit c779a5f

File tree

2 files changed

+10
-29
lines changed

2 files changed

+10
-29
lines changed

chart/azimuth-ui.schema.yaml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,15 @@ controls:
55
/huggingface/token:
66
type: TextControl
77
secret: true
8-
/ui/appSettings/hf_model_instruction:
9-
type: TextControl
10-
/ui/appSettings/page_title:
11-
type: TextControl
12-
/ui/appSettings/llm_max_tokens:
13-
type: NumberControl
14-
/ui/appSettings/llm_temperature:
15-
type: NumberControl
16-
/ui/appSettings/llm_top_p:
17-
type: NumberControl
18-
/ui/appSettings/llm_frequency_penalty:
19-
type: NumberControl
20-
/ui/appSettings/llm_presence_penalty:
21-
type: NumberControl
22-
/ui/ingress/host:
23-
type: TextControl
248
# Use mirror to mimic yaml anchor in base Helm chart
259
/ui/appSettings/hf_model_name:
2610
type: MirrorControl
2711
path: /huggingface/model
28-
visuallyHidden: true
12+
visuallyHidden: true
13+
14+
sortOrder:
15+
- /huggingface/model
16+
- /huggingface/token
17+
- /ui/appSettings/hf_model_instruction
18+
- /ui/appSettings/page_title
19+
- /ui/appSettings/llm_temperature

chart/values.schema.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"type": "string",
1010
"title": "Model",
1111
"description": "The [HuggingFace model](https://huggingface.co/models) to deploy (see [here](https://github.com/stackhpc/azimuth-llm?tab=readme-ov-file#tested-models) for a list of tested models).",
12-
"default": "mistralai/Mistral-7B-Instruct-v0.2"
12+
"default": "ise-uiuc/Magicoder-S-DS-6.7B"
1313
},
1414
"token": {
1515
"type": ["string", "null"],
1616
"title": "Access Token",
17-
"description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Only required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 2)."
17+
"description": "A HuggingFace [access token](https://huggingface.co/docs/hub/security-tokens). Required for [gated models](https://huggingface.co/docs/hub/en/models-gated) (e.g. Llama 3)."
1818
}
1919
},
2020
"required": ["model"]
@@ -90,16 +90,6 @@
9090

9191
},
9292
"required": ["hf_model_name", "hf_model_instruction"]
93-
},
94-
"ingress": {
95-
"type": "object",
96-
"properties": {
97-
"host": {
98-
"type": ["string", "null"],
99-
"title": "Ingress Host",
100-
"description": "An optional custom domain name to expose the UI on (requires an [Ingress controller](https://github.com/kubernetes/ingress-nginx) on the target cluster)"
101-
}
102-
}
10393
}
10494
}
10595
}

0 commit comments

Comments
 (0)