Skip to content

Commit

Permalink
Adding privacy disclaimer to Copilot Chat (microsoft#1154)
Browse files Browse the repository at this point in the history
### Motivation and Context
<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
This PR adds UX disclaimer to Copilot Chat to meet Microsoft privacy
obligations for using Co-pilot internally on our team.

### Description
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
Also cleans up unused properties in state
  • Loading branch information
teresaqhoang authored and name committed Jul 5, 2023
1 parent 9578399 commit 1f64ebd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { AlertType } from '../../../libs/models/AlertType';
// Copyright (c) Microsoft. All rights reserved.
export interface AppState {
alerts?: Alerts;
unclaimed?: boolean;
documentId?: string;
}

export type Alert = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
// Copyright (c) Microsoft. All rights reserved.

import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { AlertType } from '../../../libs/models/AlertType';
import { Alert, Alerts, AppState } from './AppState';

const initialState: AppState = {};
const initialState: AppState = {
alerts: {
'0': {
message:
'SK Copilot is designed for internal use only. By using this chat bot, you agree to not to share confidential or customer information or store sensitive information in chat history. Further, you agree that SK Copilot can collect and retain your chat history for service improvement.',
type: AlertType.Info,
},
},
};

export const appSlice = createSlice({
name: 'app',
Expand Down

0 comments on commit 1f64ebd

Please sign in to comment.