summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-05 00:23:40 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-05 00:23:40 +0200
commit31771b141b77d825f83c46ce901b36397ac88d6e (patch)
tree045f0aff95ff79fd01a7ebc4dd1b9d35e32d3d34
parent02d3363858cc52bb308cc342e55530a61280ab52 (diff)
Update README
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7fcb167..d1b4a0f 100644
--- a/README.md
+++ b/README.md
@@ -75,20 +75,28 @@ print(I[:5]) # neighbors of the 5 first queries
print(I[-5:]) # neighbors of the 5 last queries
```
-I need to figure out the vector dim of the mxbai model.
+I need to figure out the vector dim of the mxbai model. -> 1024
4. Use Postgres as a persisted kv-store
Save index of chunk as key and value as paragraph.
5. Create user input pipeline
+
5.1 Create search prompt for document retrieval
+
5.2 Fetch nearest neighbors as context
+
5.3 Retrieve the values from the document db
+
5.4 Add paragraphs as context to the query
+
5.5 Send query to LLM
+
5.6 Return output
+
5.7 ....
+
5.8 Profit
### Frontend (Low priority)