mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-10-04 00:03:59 +00:00
style: gofmt 两处对齐(graphmedia_test.go 注释、tfidf.go 结构体字段)
这两处是本次特性分支带入的格式回归(origin/main 上不脏)。 纯空白/对齐调整,无语义变化;不整体重排文件。
This commit is contained in:
@ -26,12 +26,12 @@ type Vector map[string]float64
|
||||
|
||||
// Embedder 实现 vector.MultimodalEmbedder,将 TF-IDF 稀疏向量投射为固定维度稠密向量。
|
||||
type Embedder struct {
|
||||
mu sync.RWMutex
|
||||
tokenizer Tokenizer
|
||||
docFreq map[string]int
|
||||
totalDocs int
|
||||
dim int
|
||||
loaded bool
|
||||
mu sync.RWMutex
|
||||
tokenizer Tokenizer
|
||||
docFreq map[string]int
|
||||
totalDocs int
|
||||
dim int
|
||||
loaded bool
|
||||
fingerprint string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user