summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-01-07 11:11:44 +0300
committerGrail Finder <wohilas@gmail.com>2025-01-07 11:11:44 +0300
commit7bbedd93cf078fc7496a6779cf9eda6e588e64c0 (patch)
tree954a8c767362fab8da11fe1fad4643f2a44b62c9 /models
parentb822b3a1613ef7f1c9ed8fa5aaddfaffbfc513a4 (diff)
Enha (RAG): raw text as primary key in vector db
Diffstat (limited to 'models')
-rw-r--r--models/db.go1
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"`