Documentation
¶
Index ¶
- type CreateCollectionOptions
- type Distance
- type Index
- func (p *Index) IsEmpty(ctx context.Context) (bool, error)
- func (q *Index) LoadFromDocuments(ctx context.Context, documents []document.Document) error
- func (q *Index) SimilaritySearch(ctx context.Context, query string, opts ...option.Option) (index.SearchResponses, error)
- func (q *Index) WithAPIKeyAndEdpoint(apiKey, endpoint string) *Index
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCollectionOptions ¶
type Distance ¶
type Distance string
const ( DistanceCosine Distance = Distance(qdrantrequest.DistanceCosine) DistanceEuclidean Distance = Distance(qdrantrequest.DistanceEuclidean) DistanceDot Distance = Distance(qdrantrequest.DistanceDot) )
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func (*Index) LoadFromDocuments ¶
func (*Index) SimilaritySearch ¶
func (*Index) WithAPIKeyAndEdpoint ¶
Click to show internal directories.
Click to hide internal directories.