Skip to content

web search done right

Update privacy policy with Alice stuff

Mikkel Denker50fb827f7251
diff --git a/frontend/src/pages/chat.astro b/frontend/src/pages/chat.astro
index db7d7519..a1f6ced6 100644
--- a/frontend/src/pages/chat.astro
+++ b/frontend/src/pages/chat.astro
@@ -133,9 +133,8 @@ import OpticSelector from "../components/OpticSelector.astro";
const statusTemplate: HTMLDivElement = document.querySelector(".status-template")!;
const opticSelector: HTMLSelectElement = document.querySelector("#optics-selector")!;
- const allowStats = window.localStorage.getItem("allowStats") === "true";
+ const allowStats = window.localStorage.getItem("allowAliceImprovements") === "true";
- // let prevState: number[][] | null = null;
let prevState: any | null = null;
let chatId: string | null = null;
diff --git a/frontend/src/pages/privacy-and-happy-lawyers.mdx b/frontend/src/pages/privacy-and-happy-lawyers.mdx
index 1341a637..5f5a1b42 100644
--- a/frontend/src/pages/privacy-and-happy-lawyers.mdx
+++ b/frontend/src/pages/privacy-and-happy-lawyers.mdx
@@ -29,6 +29,9 @@ This data is solely used to train our ranking models which improves the search r
that can tie your searches back to you or even figure out which searches were performed by the same individual.
We hope you trust us with this limited data as it helps us improve our services tremendously. You can opt-out of this at any time from the [settings page](/settings/privacy) and we won't store anything at all.
+If you use Alice, by default we store your conversations and use them to train the model. We don't store anything that can tie the conversations back to you.
+Again, you can opt-out of this at any time from the [settings page](/settings/privacy) in which case we won't store anything at all.
+
You don't have to take our word for these claims as our [source code is available to everyone.](https://github.com/StractOrg/stract)
## Terms of Service
diff --git a/frontend/src/pages/settings/privacy.astro b/frontend/src/pages/settings/privacy.astro
index 0cb2b1cf..824ecac3 100644
--- a/frontend/src/pages/settings/privacy.astro
+++ b/frontend/src/pages/settings/privacy.astro
@@ -23,6 +23,11 @@ import SettingsLayout from "../../layouts/Settings.astro";
<input type="checkbox" id="allowStats" x-model="allowStats">
<label for="allowStats">Allow usage statistics</label>
</div>
+
+ <div class="flex space-x-1 pl-1 text-sm" x-data="{ allowAliceImprovements: $persist(true).as('allowAliceImprovements') }">
+ <input type="checkbox" id="allowAliceImprovements" x-model="allowAliceImprovements">
+ <label for="allowAliceImprovements">Allow Alice conversations to be stored and used for training</label>
+ </div>
</div>
</SettingsLayout>