Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEmbeddingStore ¶
type IEmbeddingStore interface {
Save(key string, code string, embeddings []float64)
FindRelevantChunks(queryEmbedding []float64, topN int, embeddingModel string, threshold float64) []string
CosineSimilarity(vec1, vec2 []float64) float64
FindThresholdByModel(modelName string) float64
}
IEmbeddingStore defines the interface for managing code and embeddings.
Click to show internal directories.
Click to hide internal directories.