Discover Packages
github.com/ContractorKeith/mdkb
internal
embed
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 1, 2026
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package embed chunks notes and obtains local embedding vectors.
Chunks prefers paragraph ends near 200 words and carries forty words forward.
Oversized paragraphs split at the word limit. Even an empty note embeds its title.
type ErrUnavailable struct{ URL, Model, Reason string }
Embed sends at most sixteen inputs per request; failures never return partial vectors.
Source Files
¶
Directories
¶
Package embedtest provides a deterministic local Ollama double.
Package embedtest provides a deterministic local Ollama double.
Click to show internal directories.
Click to hide internal directories.