Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalEmbedder ¶
type LocalEmbedder struct {
// contains filtered or unexported fields
}
func NewLocalEmbedder ¶
func NewLocalEmbedder() (*LocalEmbedder, error)
func (*LocalEmbedder) Close ¶
func (e *LocalEmbedder) Close() error
func (*LocalEmbedder) EmbedBatch ¶
func (*LocalEmbedder) Model ¶ added in v2.11.0
func (e *LocalEmbedder) Model() string
Model returns the identifier of the embedding model, used to invalidate previously stored content hashes when the model changes.
Click to show internal directories.
Click to hide internal directories.