Documentation ¶
Index ¶
- type LibSQL
- func (l *LibSQL) Close() error
- func (l *LibSQL) CreateEmbeddingsTable(ctx context.Context, db *sql.DB) error
- func (l *LibSQL) DoesEmbeddingExist(ctx context.Context, text string) (bool, error)
- func (l *LibSQL) FindSimilar(ctx context.Context, queryEmbedding []float32, limit int) ([]string, error)
- func (l *LibSQL) StoreEmbedding(ctx context.Context, text string, embedding []float32, category string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibSQL ¶
type LibSQL struct {
// contains filtered or unexported fields
}
func (*LibSQL) CreateEmbeddingsTable ¶
func (*LibSQL) DoesEmbeddingExist ¶
func (*LibSQL) FindSimilar ¶
Click to show internal directories.
Click to hide internal directories.