(bug-fix) : fix VertexAI missing configurations (#1926)
This commit is contained in:
@@ -25,6 +25,8 @@ class BaseEmbedderConfig(ABC):
|
||||
# AzureOpenAI specific
|
||||
azure_kwargs: Optional[AzureConfig] = {},
|
||||
http_client_proxies: Optional[Union[Dict, str]] = None,
|
||||
# VertexAI specific
|
||||
vertex_credentials_json: Optional[str] = None,
|
||||
):
|
||||
"""
|
||||
Initializes a configuration class instance for the Embeddings.
|
||||
@@ -63,3 +65,6 @@ class BaseEmbedderConfig(ABC):
|
||||
|
||||
# AzureOpenAI specific
|
||||
self.azure_kwargs = AzureConfig(**azure_kwargs) or {}
|
||||
|
||||
# VertexAI specific
|
||||
self.vertex_credentials_json = vertex_credentials_json
|
||||
|
||||
Reference in New Issue
Block a user