Documentation
¶
Index ¶
- type Weaviate
- func (w *Weaviate) Delete(ctx context.Context, id string) error
- func (w *Weaviate) Exists(ctx context.Context, id string) (bool, error)
- func (w *Weaviate) Index(ctx context.Context, docs ...ragkit.Document) ([]string, error)
- func (w *Weaviate) Retrieve(ctx context.Context, query []float32, topK int) ([]ragkit.RetrievedDoc, error)
- func (w *Weaviate) RetrieveText(ctx context.Context, text string, topK int) ([]ragkit.RetrievedDoc, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Weaviate ¶
type Weaviate struct {
// contains filtered or unexported fields
}
func NewWeaviate ¶
func (*Weaviate) RetrieveText ¶
Click to show internal directories.
Click to hide internal directories.