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, metadataFieldNames ...string) ([]ragkit.RetrievedDoc, error)
- func (w *Weaviate) RetrieveText(ctx context.Context, text string, topK int, metadataFieldNames ...string) ([]ragkit.RetrievedDoc, error)
- func (w *Weaviate) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.