janus.embedding.embedding_models_info#
Attributes#
Classes#
Functions#
|
Load an embedding model from the configuration file or create a new one |
Module Contents#
- janus.embedding.embedding_models_info.log#
- class janus.embedding.embedding_models_info.EmbeddingModelType#
Bases:
aenum.MultiValueEnum
- OpenAI = ('OpenAI', 'openai', 'open-ai', 'oai')#
- HuggingFaceLocal = ('HuggingFaceLocal', 'huggingfacelocal', 'huggingface-local', 'hfl')#
- HuggingFaceInferenceAPI = ('HuggingFaceInferenceAPI', 'huggingfaceinferenceapi', 'huggingface-inference-api', 'hfia')#
- janus.embedding.embedding_models_info.EMBEDDING_MODEL_TYPE_CONSTRUCTORS: Dict[EmbeddingModelType, Callable[[Any], langchain_core.embeddings.Embeddings]]#
- janus.embedding.embedding_models_info.EMBEDDING_MODEL_TYPE_DEFAULT_IDS: Dict[EmbeddingModelType, Dict[str, Any]]#
- janus.embedding.embedding_models_info.EMBEDDING_MODEL_CONFIG_DIR#
- janus.embedding.embedding_models_info.load_embedding_model(model_name)#
Load an embedding model from the configuration file or create a new one