diff options
author | Grail Finder <wohilas@gmail.com> | 2025-01-07 11:11:44 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-01-07 11:11:44 +0300 |
commit | 7bbedd93cf078fc7496a6779cf9eda6e588e64c0 (patch) | |
tree | 954a8c767362fab8da11fe1fad4643f2a44b62c9 /models | |
parent | b822b3a1613ef7f1c9ed8fa5aaddfaffbfc513a4 (diff) |
Enha (RAG): raw text as primary key in vector db
Diffstat (limited to 'models')
-rw-r--r-- | models/db.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/models/db.go b/models/db.go index db4ae75..ce1309a 100644 --- a/models/db.go +++ b/models/db.go @@ -39,7 +39,6 @@ type Memory struct { // vector models type VectorRow struct { - ID uint32 `db:"id" json:"id"` Embeddings []float32 `db:"embeddings" json:"embeddings"` Slug string `db:"slug" json:"slug"` RawText string `db:"raw_text" json:"raw_text"` |