From 5ed4175f87f5f1e41c6cf09835d13bcf6ac26bbe Mon Sep 17 00:00:00 2001
From: roocell <roocell@users.noreply.github.com>
Date: Wed, 21 Feb 2024 17:10:07 -0500
Subject: [PATCH 1/3] Create sequence.md

---
 docs/guides/sequence.md | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 docs/guides/sequence.md

diff --git a/docs/guides/sequence.md b/docs/guides/sequence.md
new file mode 100644
index 0000000..e427239
--- /dev/null
+++ b/docs/guides/sequence.md
@@ -0,0 +1,36 @@
+# Adeus Sequence
+
+```mermaid
+sequenceDiagram
+    participant user as User
+    participant device as device/raspi
+    participant chatbot as chatbot/phone
+box lightGreen supabase
+    participant supabase as supabase
+end
+box lightBlue openai
+    participant whisper as whisper
+    participant embeddings as embeddings
+    participant GPT as GPT
+end
+
+    title ADeus
+
+    user ->> device: speech
+    device ->> supabase: audio
+    supabase ->> whisper: audio
+    whisper ->> supabase: text(transcribed)
+    supabase ->> embeddings: text
+    embeddings -->> supabase: embeddings
+    supabase -->> supabase: store to db
+
+    user ->> chatbot: text(conversation)
+    chatbot ->> supabase: text(conversation)
+    supabase ->> embeddings: text(conversation)
+    embeddings -->> supabase: embeddings
+    supabase -->> supabase: db query(embeddings match)
+    supabase -->> GPT: prompt, text(conversation), matched db embeddings
+    GPT -->> supabase: response
+    supabase -->> chatbot: response
+    chatbot -->> user: response
+```

From 0cf3400378e12feb0695603c7d73fe2b7fd38b1e Mon Sep 17 00:00:00 2001
From: roocell <roocell@users.noreply.github.com>
Date: Wed, 21 Feb 2024 17:11:56 -0500
Subject: [PATCH 2/3] Update index.md

link to sequence. this will open in github which will render the mermaid sequence properly
---
 docs/index.md | 37 ++-----------------------------------
 1 file changed, 2 insertions(+), 35 deletions(-)

diff --git a/docs/index.md b/docs/index.md
index 7ce0109..b50f506 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -43,41 +43,8 @@ Adeus consists of 3 parts:
    Supabase is an open source Firebase alternative, a "backend-as-a-service" - which allows you to setup a Postgres database, Authentication, Edge Functions, Vector embeddings, and more - for free (at first) and at extreme ease!
    - [!!] But more importantly - **it is open source, and you can choose to deploy and manage your own Supabase instance** - which us crucial for our mission: A truly open-source, personal AI.
 
-## Simplified Sequence
-```mermaid
-sequenceDiagram
-    participant user as User
-    participant device as device/raspi
-    participant chatbot as chatbot/phone
-box lightGreen supabase
-    participant supabase as supabase
-end
-box lightBlue openai
-    participant whisper as whisper
-    participant embeddings as embeddings
-    participant GPT as GPT
-end
-
-    title ADeus
-
-    user ->> device: speech
-    device ->> supabase: audio
-    supabase ->> whisper: audio
-    whisper ->> supabase: text(transcribed)
-    supabase ->> embeddings: text
-    embeddings -->> supabase: embeddings
-    supabase -->> supabase: store to db
-
-    user ->> chatbot: text(conversation)
-    chatbot ->> supabase: text(conversation)
-    supabase ->> embeddings: text(conversation)
-    embeddings -->> supabase: embeddings
-    supabase -->> supabase: db query(embeddings match)
-    supabase -->> GPT: prompt, text(conversation), matched db embeddings
-    GPT -->> supabase: response
-    supabase -->> chatbot: response
-    chatbot -->> user: response
-```
+## Sequence
+[TODOs](https://github.com/adamcohenhillel/ADeus/blob/main/docs/guides/sequence.md)
 ---
 
 ## Where to go Next

From ff2ca2aecda24481977503d38f2290c73d3cbf7c Mon Sep 17 00:00:00 2001
From: roocell <roocell@users.noreply.github.com>
Date: Wed, 21 Feb 2024 17:12:46 -0500
Subject: [PATCH 3/3] Update index.md

---
 docs/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/index.md b/docs/index.md
index b50f506..9ef100a 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -44,7 +44,7 @@ Adeus consists of 3 parts:
    - [!!] But more importantly - **it is open source, and you can choose to deploy and manage your own Supabase instance** - which us crucial for our mission: A truly open-source, personal AI.
 
 ## Sequence
-[TODOs](https://github.com/adamcohenhillel/ADeus/blob/main/docs/guides/sequence.md)
+[view sequence](https://github.com/adamcohenhillel/ADeus/blob/main/docs/guides/sequence.md)
 ---
 
 ## Where to go Next