Versions in this module Expand all Collapse all v0 v0.0.1 Jul 10, 2026 v0.0.0 Jul 10, 2026 Changes in this version + type ChromemDB struct + func NewChromemDB(collection, path string, openaiClient *openai.Client, embeddingsModel string) (*ChromemDB, error) + func (c *ChromemDB) Count() int + func (c *ChromemDB) Reset() error + func (c *ChromemDB) Search(s string, similarEntries int) ([]string, error) + func (c *ChromemDB) Store(s string) error + type DeleteRequest struct + Keys [][]float32 + type FindRequest struct + Key []float32 + TopK int + type FindResponse struct + Keys [][]float32 + Similarities []float32 + Values []string + type GetRequest struct + Keys [][]float32 + type GetResponse struct + Keys [][]float32 + Values []string + type LocalAIRAGDB struct + func NewLocalAIRAGDB(storeClient *StoreClient, openaiClient *openai.Client) *LocalAIRAGDB + func (db *LocalAIRAGDB) Count() int + func (db *LocalAIRAGDB) Reset() error + func (db *LocalAIRAGDB) Search(s string, similarEntries int) ([]string, error) + func (db *LocalAIRAGDB) Store(s string) error + type SetRequest struct + Keys [][]float32 + Values []string + type StoreClient struct + APIToken string + BaseURL string + Client *http.Client + func NewStoreClient(baseUrl, apiToken string) *StoreClient + func (c *StoreClient) Delete(req DeleteRequest) error + func (c *StoreClient) Find(req FindRequest) (*FindResponse, error) + func (c *StoreClient) Get(req GetRequest) (*GetResponse, error) + func (c *StoreClient) Set(req SetRequest) error