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