Documentation ¶
Index ¶
- Constants
- type Embedder
- func (e *Embedder) Close()
- func (e *Embedder) IndexDocument(ctx context.Context, title string, body string, modifiedAt time.Time) error
- func (e *Embedder) IndexDocuments(filenames []string) error
- func (e *Embedder) IndexHelpSystem(ctx context.Context, helpSystem *help.HelpSystem) error
- func (e *Embedder) Init() error
- func (e *Embedder) Search(ctx context.Context, question string) ([]SearchResult, error)
- func (e *Embedder) VSSVersion() string
- type SearchResult
Constants ¶
View Source
const EmbeddingDimensions = 128
View Source
const EmbeddingModel = "text-embedding-3-small"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Embedder ¶
type Embedder struct {
// contains filtered or unexported fields
}
func NewEmbedder ¶
func (*Embedder) IndexDocument ¶
func (*Embedder) IndexDocuments ¶
func (*Embedder) IndexHelpSystem ¶
func (*Embedder) VSSVersion ¶
Click to show internal directories.
Click to hide internal directories.