Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pinecone ¶
type Pinecone struct {
// contains filtered or unexported fields
}
func NewPinecone ¶
func (*Pinecone) LoadFromDocuments ¶
func (*Pinecone) SimilaritySearch ¶
type SearchResponse ¶
type SimpleVectorIndex ¶
type SimpleVectorIndex struct { Data []SimpleVectorIndexData `json:"data"` // contains filtered or unexported fields }
func NewSimpleVectorIndex ¶
func NewSimpleVectorIndex(name string, outputPath string, embedder Embedder) *SimpleVectorIndex
func (*SimpleVectorIndex) LoadFromDocuments ¶
func (*SimpleVectorIndex) SimilaritySearch ¶
func (s *SimpleVectorIndex) SimilaritySearch(ctx context.Context, query string, topK *int) ([]SearchResponse, error)
func (*SimpleVectorIndex) Size ¶
func (s *SimpleVectorIndex) Size() (int64, error)
Click to show internal directories.
Click to hide internal directories.