Skip to content

Commit 04799f8

Browse files
authored
[FIX] Tool settings labels (#823)
fixed UI labels
1 parent dd52021 commit 04799f8

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

backend/prompt_studio/prompt_studio_registry/prompt_studio_registry_helper.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,28 @@ def frame_spec(tool: CustomTool) -> Spec:
4848
properties = {
4949
"challenge_llm": {
5050
"type": "string",
51-
"title": "Challenge LLM",
51+
"title": "Challenger LLM",
5252
"adapterType": "LLM",
53-
"description": "LLM to use for challenge",
53+
"description": "LLM to use for LLMChallenge",
5454
"adapterIdKey": "challenge_llm_adapter_id",
5555
},
5656
"enable_challenge": {
5757
"type": "boolean",
58-
"title": "Enable challenge",
58+
"title": "Enable LLMChallenge",
5959
"default": False,
60-
"description": "Enables Challenge",
60+
"description": "Enables LLMChallenge",
6161
},
6262
"summarize_as_source": {
6363
"type": "boolean",
64-
"title": "Summarize and use summary as source",
64+
"title": "Enable SummarizedExtraction",
6565
"default": False,
66-
"description": "Enables summary and use summarized content as source",
66+
"description": "Enables SummarizedExtraction",
6767
},
6868
"single_pass_extraction_mode": {
6969
"type": "boolean",
70-
"title": "Enable Single pass extraction",
70+
"title": "Enable SinglePass Extraction",
7171
"default": False,
72-
"description": "Enables single pass extraction",
72+
"description": "Enables SinglePass Extraction",
7373
},
7474
}
7575

backend/prompt_studio/prompt_studio_registry_v2/prompt_studio_registry_helper.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,28 @@ def frame_spec(tool: CustomTool) -> Spec:
5050
properties = {
5151
"challenge_llm": {
5252
"type": "string",
53-
"title": "Challenge LLM",
53+
"title": "Challenger LLM",
5454
"adapterType": "LLM",
55-
"description": "LLM to use for challenge",
55+
"description": "LLM to use for LLMChallenge",
5656
"adapterIdKey": "challenge_llm_adapter_id",
5757
},
5858
"enable_challenge": {
5959
"type": "boolean",
60-
"title": "Enable challenge",
60+
"title": "Enable LLMChallenge",
6161
"default": False,
62-
"description": "Enables Challenge",
62+
"description": "Enables LLMChallenge",
6363
},
6464
"summarize_as_source": {
6565
"type": "boolean",
66-
"title": "Summarize and use summary as source",
66+
"title": "Enable SummarizedExtraction",
6767
"default": False,
68-
"description": "Enables summary and use summarized content as source",
68+
"description": "Enables SummarizedExtraction",
6969
},
7070
"single_pass_extraction_mode": {
7171
"type": "boolean",
72-
"title": "Enable Single pass extraction",
72+
"title": "Enable SinglePass Extraction",
7373
"default": False,
74-
"description": "Enables single pass extraction",
74+
"description": "Enables SinglePass Extraction",
7575
},
7676
}
7777

0 commit comments

Comments
 (0)