Expand description
mimirs-embed: LFM2.5-VL-450M embedding provider
Produces 1024-dimensional f32 embeddings from text, images, documents, and media files via the LFM2.5-VL multimodal model.
Supported formats: Text: .txt, .md, .rst, .log, .rs, .py, .js, .ts, .go, .c, .cpp, .h, .hpp, .java, .rb, .sh, .toml, .yaml, .yml, .json, .xml, .html, .htm, .css, .scss, .less, .sql, .php, .swift, .kt, .scala, .r, .m, .mm, .lua, .pl, .pm, .vim, .el, .lisp, .hs, .ml, .fs, .fsx, .clj, .ex, .exs, .erl, .hrl Rich text: .rtf Word: .docx, .doc (via antiword) Excel: .xlsx, .xls, .csv, .tsv PowerPoint:.pptx, .ppt (via libreoffice) OpenDoc: .odt, .ods, .odp ePub: .epub LaTeX: .tex, .latex, .bib PDF: .pdf Images: .png, .jpg, .jpeg, .webp, .bmp, .gif, .tiff, .tif, .svg, .ico, .heic, .heif, .avif Audio: .mp3, .wav, .flac, .ogg, .m4a, .aac, .wma, .opus Video: .mp4, .mkv, .avi, .webm, .mov, .wmv, .flv, .m4v, .mpg, .mpeg, .3gp Archives: .zip, .tar, .gz, .bz2, .xz, .7z, .rar (extracts & embeds contained text files)
Structs§
- Lfm2
Embedder - LFM2.5-VL embedding provider.
Enums§
- Embed
Error - Errors that can occur during embedding.
Constants§
- EMBED_
DIM - Default embedding dimension for LFM2.5-VL-450M.
- MODEL_
FILENAME - Model filename after download.
- MODEL_
URL - HuggingFace download URL for the LFM2.5-VL-450M GGUF model.
Functions§
- hash_
embedding - Deterministic hash-based embedding fallback.