Documentation
¶
Index ¶
- type PGVector
- func (p *PGVector) Close() error
- func (p *PGVector) Delete(ctx context.Context, id string) error
- func (p *PGVector) Exists(ctx context.Context, id string) (bool, error)
- func (p *PGVector) Index(ctx context.Context, docs ...ragkit.Document) ([]string, error)
- func (p *PGVector) Retrieve(ctx context.Context, query []float32, topK int, metadataFieldNames ...string) ([]ragkit.RetrievedDoc, error)
- func (p *PGVector) RetrieveText(ctx context.Context, text string, topK int, metadataFieldNames ...string) ([]ragkit.RetrievedDoc, error)
- func (p *PGVector) 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.