Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestBucket ¶
NewTestBucket creates a simple bucket for testing
Types ¶
type MockEmbedder ¶
type MockEmbedder struct {
Embeddings map[string][]float32
// FailOn causes Embed to return an error when the input text matches
FailOn string
}
MockEmbedder is a test embedder that returns predictable embeddings
func NewMockEmbedder ¶
func NewMockEmbedder() *MockEmbedder
func (*MockEmbedder) Close ¶
func (m *MockEmbedder) Close() error
Click to show internal directories.
Click to hide internal directories.