Artwork by Kelley Bontemps (check out her AMAZING artwork!)— “See no data, Hear no data, Speak no data

Building AI Feature’s Securely

Tony Oreglia

--

At Jumble Journal, we are maintaining client-side encryption while implementing powerful AI features.

The Goal

Jumble is a daily journaling web-app built with client-side encryption which we aim to maintain. The goal is to be able to query your personal journal without server-side data ownership.

Jumble users will be able to “chat” with their own personal journal. The initial release will be a simple Q&A box. User can ask, for example, what are the three things I’ve been most anxious in the last year?

Reference of the data flow explained in this article:

Implementation

In order to provide contextually aware answers to a user question, the following steps are taken:

Step 1: Embed Journal Entries

To first step is to convert journal entries to vectors. To generate vectors, the plain text journal entry is sent over HTTPS to a Lambda function. The OpenAI Embeddings API is used to generate vector representations called embeddings. Once the vector embeddings are created, the journal

--

--

Tony Oreglia

Fullstack Software Engineer living in Lisbon. I write about coding and productivity. I'm building a secure journaling space at https://jumblejournal.org