Skip to content

Commit 41e9d55

Browse files
authored
Merge pull request #12 from rturknett/rturknett-ai-disclaimer
Bug #7314: Bug - Do we need to put a disclaimer of accuracy or notice…
2 parents c1d3215 + 4ff94c6 commit 41e9d55

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

GBB.ConversationalKM.WebUI/CognitiveSearch.UI/wwwroot/css/site.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,21 @@ h1, h2, h3, h4, h5 {
211211
color: #4A4A4A;
212212
}
213213

214+
#results-title {
215+
display: flex;
216+
align-items: flex-start;
217+
}
218+
219+
#disclaimer {
220+
display: inline-block;
221+
font-size: 10pt;
222+
color: #797775;
223+
border: 2px solid #797775;
224+
border-radius: 7pt;
225+
padding: 5px;
226+
margin-left: 15px;
227+
}
228+
214229
.highlight {
215230
background-color: rgb(160, 197, 232);
216231
padding: 0 2px;

GBB.ConversationalKM.WebUI/CognitiveSearch.UI/wwwroot/js/results.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function UpdateMap(data) {
200200
function UpdateResults(data, answer) {
201201
var resultsHtml = '';
202202

203-
$("#doc-count").html(`<h4>Call summaries</h4> Showing ${data.results.length} of ${data.count} results`);
203+
$("#doc-count").html(`<div id="results-title"><h4>Call summaries</h4><div id="disclaimer">AI-generated content may be incorrect</div></div>Showing ${data.results.length} of ${data.count} results`);
204204

205205
if (data.answer !== undefined && data.answer !== null) {
206206

0 commit comments

Comments
 (0)