feat: 支持Qdrant多维度向量存储和全文检索优化,添加Docker Compose配置

This commit is contained in:
wizardchen
2025-12-08 19:32:46 +08:00
parent c67a5d3949
commit 1f6bb3f841
10 changed files with 534 additions and 202 deletions
@@ -1,10 +1,16 @@
package qdrant
import "github.com/qdrant/go-client/qdrant"
import (
"sync"
"github.com/qdrant/go-client/qdrant"
)
type qdrantRepository struct {
client *qdrant.Client
collectionName string
client *qdrant.Client
collectionBaseName string
// Cache for initialized collections (dimension -> true)
initializedCollections sync.Map
}
type QdrantVectorEmbedding struct {