MCPcopy Create free account
hub / github.com/encoder-run/operator / CodeEmbedding

Struct CodeEmbedding

pkg/database/database.go:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91type CodeEmbedding struct {
92 URL string `gorm:"primaryKey;type:varchar(255)"`
93 FileHash string `gorm:"primaryKey;type:varchar(255)"`
94 FilePath string `gorm:"primaryKey;type:varchar(255)"`
95 ChunkID int `gorm:"primaryKey"`
96 StartIndex int
97 EndIndex int
98 Embedding pgvector.Vector `gorm:"type:vector(768)"`
99}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected