Skip to content

[AQUA] Integrate aqua to use model group #1214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: feature/model_group
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 15 additions & 0 deletions ads/aqua/model/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,18 @@ class ModelFileDescription(Serializable):
class Config:
alias_generator = to_camel
extra = "allow"


class MemberModel(Serializable):
"""Describes the member model of a model group.
Attributes:
model_id (str): The id of member model.
inference_key (str): The inference key of member model.
"""

model_id: str = Field(..., description="The id of member model.")
inference_key: str = Field(None, description="The inference key of member model.")

class Config:
extra = "allow"
Loading