-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomUI14.xml
131 lines (127 loc) · 9.67 KB
/
customUI14.xml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!-- 2024-02-22-01 -->
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<tabs>
<tab id="AIToolsTab" label="AI Tools">
<group id="AIToolsTextGroup" label="Text Tools">
<button id="CorrectToStandardEnglishButton"
label="Spelling (standard)"
imageMso="Spelling"
screentip="Correct selected text to standard English"
supertip="Correct the grammar of the selected text and convert it to standard English. The revised variant will replace the original (selected) text."
size="large"
onAction="CorrectToStandardEnglishButtonCallback" />
<button id="CorrectToStandardEnglishBusinessButton"
label="Spelling (business)"
imageMso="Spelling"
screentip="Correct selected text to standard English in the business style"
supertip="Correct the grammar of the selected text and convert it to standard English in the business style. The revised variant will replace the original (selected) text."
size="large"
onAction="CorrectToStandardEnglishBusinessButtonCallback" />
<button id="ParaphraseShortenButton"
label="Shorten (paraphrase)"
imageMso="ParagraphSpacingDecrease"
screentip="Paraphrase selected text to make it slightly shorter"
supertip="Paraphrase the selected text to make it shorter, but preserve its meaning. The revised variant will replace the original (selected) text."
size="large"
onAction="ParaphraseShortenButtonCallback" />
<button id="CustomTransform1Button"
label="Custom Transform"
imageMso="MacroRun"
screentip="Transform selected text using custom prompt"
supertip="Transform selected text using the prompt defined in the Custom Transform settings. The output will replace the original (selected) text."
size="large"
onAction="CustomTransform1ButtonCallback" />
</group>
<group id="AIToolsTitlesGroup" label="Title Tools" getVisible="AIToolsTitlesGroupGetVisibleCallback">
<button id="RephraseConsultingMultiShotButton"
label="Rephrase Title (multi-shot)"
imageMso="ControlWizards"
screentip="Improve the style of selected title (with samples)"
supertip="Rewrite the selected text which is expected to be a slide title using a more bold, catchy, and impactful wording peculiar to management consulting. The result will replace the selected text. The result is different every time, so don't hesitate to use Ctrl+Z and redo if you don't like the result."
size="large"
onAction="RephraseConsultingMultiShotButtonCallback" />
<button id="RephraseConsultingZeroShotButton"
label="Rephrase Title (zero-shot)"
imageMso="ControlWizards"
screentip="Improve the style of selected title (without samples)"
supertip="Rewrite the selected text which is expected to be a slide title using a more bold, catchy, and impactful wording peculiar to management consulting. The result will replace the selected text. The result is different every time, so don't hesitate to use Ctrl+Z and redo if you don't like the result."
size="large"
onAction="RephraseConsultingZeroShotButtonCallback" />
<button id="RephraseTitleVariantsButton"
label="Beautify Title"
imageMso="AllCategories"
screentip="Suggest several options how to beautify a title"
supertip="Show a windows with several options of a beautified title. You can select the best option, change the text and replace the selected text with the improved one. Might take a while (1-2 min) to execute."
size="large"
onAction="RephraseTitleVariantsButtonCallback" />
</group>
<group id="AIToolsEmailGroup" label="Email Tools" getVisible="AIToolsEmailGroupGetVisibleCallback">
<button id="RephrasePoliteConciseButton"
label="Rephrase Polite and Concise"
imageMso="ShapeSmileyFace"
screentip="improve the selected text (email or message)"
supertip="Rewrite the selected message in order to make it more indirect, polite, delicate, and considerate. Keep it concise and to the point, and make it suitable for communication with executive-level management. Ensure that the cultural sensibilities and professional etiquettes common in Arabic and European contexts are considered, maintaining the original message's intent. The result will replace the selected text."
size="large"
onAction="RephrasePoliteConciseButtonCallback" />
<button id="RephrasePoliteExtraButton"
label="Rephrase Polite"
imageMso="ShapeSmileyFace"
screentip="improve the selected text (email or message)"
supertip="Rewrite the selected message in order to make it more indirect, polite, delicate, and considerate. Emphasize readiness to collaborate and showing respect for the recipient's time and efforts if suitable. Ensure that the cultural sensibilities and professional etiquettes common in Arabic and European contexts are considered, maintaining the original message's intent. The result will replace the selected text."
size="large"
onAction="RephrasePoliteExtraButtonCallback" />
</group>
<group id="AIToolsPlaygroundGroup" label="Playground" getVisible="AIToolsPlaygroundGroupGetVisibleCallback">
<button id="RunAIButton"
label="Run AI"
imageMso="MacroPlay"
screentip="Execute query on the AI Playground"
supertip="Execute a large language model request with the command entered on the active AI Playground slide. The command works only on the slides designed for it."
size="large"
onAction="RunAIButtonCallback" />
</group>
<group id="AISettingsGroup" label="Settings">
<dropDown id="AIDefaultModelDropdown"
label="Model:"
screentip="Select default LLM model"
supertip="Select default LLM model for the 'chat' endpoint."
getSelectedItemID="AIDefaultModelGetSelectedItemID"
getItemCount="AIDefaultModelGetItemCount"
getItemID="AIDefaultModelGetItemID"
getItemLabel="AIDefaultModelGetItemLabel"
onAction="AIDefaultModelDropdownCallback">
</dropDown>
<checkBox id="EnforceRnQComplianceCheckbox"
label="Enforce compliance"
screentip="Enforce Risk compliance"
supertip="Disable actions that can potentially violate PwC Risk policies regarding the usage of external services."
enabled="false"
onAction="EnforceRnQComplianceCheckboxOnActionCallback"
getPressed="EnforceRnQComplianceCheckboxGetPressedCallback"/>
<button id="APIKeysButton"
label="API Keys"
imageMso="AdpPrimaryKey"
screentip="Open API keys window"
supertip="Set up your API Keys for external service providers (OpenAI, Anthropic, Google)."
size="normal"
onAction="APIKeysButtonCallback" />
<button id="ProxyButton"
label="Proxy"
imageMso="WebComponent"
screentip="Open Proxy Settings window"
supertip="Set up HTTP proxy server for external service providers (OpenAI, Anthropic, Google)."
size="normal"
onAction="ProxyButtonCallback" />
<button id="CustomTransformSettingsButton"
label="Custom Transform"
imageMso="MenuMacros"
screentip="Open custom transform settings window"
supertip="Set prompt and temperature for the custom transform actions."
size="normal"
onAction="CustomTransformSettingsButtonCallback" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>