#!/usr/bin/env python# Copyright (c) 2024, 2025 Oracle and/or its affiliates.# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/fromtypingimportDict,Listfromads.common.extended_enumimportExtendedEnum
[docs]classTextEmbeddingInferenceContainerParams(ExtendedEnum):"""Contains a subset of params that are required for enabling model deployment in OCI Data Science. More options are available at https://huggingface.co/docs/text-embeddings-inference/en/cli_arguments """MODEL_ID="model-id"PORT="port"
# This dictionary defines compatibility groups for container families.# The structure is:# - Key: The preferred container family to use when multiple compatible families are selected.# - Value: A list of all compatible families (including the preferred one).CONTAINER_FAMILY_COMPATIBILITY:Dict[str,List[str]]={InferenceContainerTypeFamily.AQUA_VLLM_OPENAI_CONTAINER_FAMILY:[InferenceContainerTypeFamily.AQUA_VLLM_OPENAI_CONTAINER_FAMILY,InferenceContainerTypeFamily.AQUA_VLLM_LLAMA4_CONTAINER_FAMILY,InferenceContainerTypeFamily.AQUA_VLLM_V1_CONTAINER_FAMILY,InferenceContainerTypeFamily.AQUA_VLLM_CONTAINER_FAMILY,],InferenceContainerTypeFamily.AQUA_VLLM_V1_CONTAINER_FAMILY:[InferenceContainerTypeFamily.AQUA_VLLM_V1_CONTAINER_FAMILY,InferenceContainerTypeFamily.AQUA_VLLM_CONTAINER_FAMILY,],InferenceContainerTypeFamily.AQUA_VLLM_LLAMA4_CONTAINER_FAMILY:[InferenceContainerTypeFamily.AQUA_VLLM_LLAMA4_CONTAINER_FAMILY,InferenceContainerTypeFamily.AQUA_VLLM_V1_CONTAINER_FAMILY,InferenceContainerTypeFamily.AQUA_VLLM_CONTAINER_FAMILY,],}