Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintMatches ¶
PrintMatches prints the search matches to the console.
Types ¶
type EmbeddingsFrame ¶
type EmbeddingsFrame struct { Embedder embeddings.Embedder Scheme string Host string IndexName string VectorStore *weaviate.Store }
EmbeddingsFrame defines the structure for the framework.
func New ¶
func New(embedder embeddings.Embedder, scheme, host, indexName string) (*EmbeddingsFrame, error)
New creates a new instance of EmbeddingsFrame.
func (*EmbeddingsFrame) AddDocuments ¶
func (lf *EmbeddingsFrame) AddDocuments(ctx context.Context, docs []schema.Document) (data []string, err error)
AddDocuments adds a list of documents to the vector store.
Click to show internal directories.
Click to hide internal directories.