Ragex.Embeddings.Bumblebee
(Ragex v0.8.0)
View Source
Embedding adapter using Bumblebee with configurable models.
Supports multiple embedding models from the Registry:
- all_minilm_l6_v2 (default): 384-dimensional, fast
- all_mpnet_base_v2: 768-dimensional, high quality
- codebert_base: 768-dimensional, code-specific
- paraphrase_multilingual: 384-dimensional, multilingual
Model is configured via config.exs or RAGEX_EMBEDDING_MODEL environment variable. Model weights are downloaded on first use and cached locally.
Summary
Functions
Returns a specification to start this module under a supervisor.
Returns the current model information.
Returns true if the model is loaded and ready.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Returns the current model information.
Returns true if the model is loaded and ready.