Documentation
¶
Index ¶
- Constants
- type Chroma
- func (c *Chroma) Deinit(_ context.Context) error
- func (c *Chroma) Init(_ context.Context) error
- func (c *Chroma) Reset(_ context.Context) error
- func (c *Chroma) Save(_ context.Context, value interface{}, meta map[string]interface{}, ...) error
- func (c *Chroma) Search(_ context.Context, query string, limit int, threshold float64) ([]interface{}, error)
- type Collection
- type Config
- type Ragx
- func (r *Ragx) Deinit(_ context.Context) error
- func (r *Ragx) Init(_ context.Context) error
- func (r *Ragx) Reset(_ context.Context) error
- func (r *Ragx) Save(_ context.Context, value interface{}, meta map[string]interface{}, ...) error
- func (r *Ragx) Search(_ context.Context, query string, limit int, threshold float64) ([]interface{}, error)
- type Store
Constants ¶
View Source
const ( ProviderChroma = "chroma" ProviderRagx = "ragx" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chroma ¶
type Chroma struct {
Client *chroma.Client
Collection []Collection
}
type Collection ¶
type Config ¶
func DefaultConfig ¶
func DefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.