Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
run black
  • Loading branch information
MilesHolland committed Jun 14, 2024
commit c0b2256fb33a54b59e1b28942d05ae92780ca37e
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from typing import Optional


class IndexConfig: # pylint: disable=too-many-instance-attributes
"""Convenience class that contains all config values that for index creation that are
NOT specific to the index source data or the created index type. Meant for internal use only
Expand Down
21 changes: 11 additions & 10 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_indexes/model_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,17 @@ class ModelConfiguration:
model_kwargs: Dict[str, Any]

def __init__(
self,
*,
api_base: Optional[str],
api_key: Optional[str],
api_version: Optional[str],
connection_name: Optional[str],
connection_type: Optional[str],
model_name: Optional[str],
deployment_name: Optional[str],
model_kwargs: Dict[str, Any]):
self,
*,
api_base: Optional[str],
api_key: Optional[str],
api_version: Optional[str],
connection_name: Optional[str],
connection_type: Optional[str],
model_name: Optional[str],
deployment_name: Optional[str],
model_kwargs: Dict[str, Any]
):
self.api_base = api_base
self.api_key = api_key
self.api_version = api_version
Expand Down