-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): update via SDK Studio (#274)
- Loading branch information
1 parent
dc7ef78
commit 2e703d3
Showing
7 changed files
with
317 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
configured_endpoints: 12 | ||
configured_endpoints: 13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from __future__ import annotations | ||
|
||
from typing import Optional | ||
from typing_extensions import Annotated, TypedDict | ||
|
||
from .._utils import PropertyInfo | ||
|
||
__all__ = ["InferencePipelineUpdateParams"] | ||
|
||
|
||
class InferencePipelineUpdateParams(TypedDict, total=False): | ||
description: Optional[str] | ||
"""The inference pipeline description.""" | ||
|
||
name: str | ||
"""The inference pipeline name.""" | ||
|
||
reference_dataset_uri: Annotated[Optional[str], PropertyInfo(alias="referenceDatasetUri")] | ||
"""The storage uri of your reference dataset. | ||
We recommend using the Python SDK or the UI to handle your reference dataset | ||
updates. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import Optional | ||
from datetime import datetime | ||
from typing_extensions import Literal | ||
|
||
from pydantic import Field as FieldInfo | ||
|
||
from .._models import BaseModel | ||
|
||
__all__ = ["InferencePipelineUpdateResponse", "Links"] | ||
|
||
|
||
class Links(BaseModel): | ||
app: str | ||
|
||
|
||
class InferencePipelineUpdateResponse(BaseModel): | ||
id: str | ||
"""The inference pipeline id.""" | ||
|
||
date_created: datetime = FieldInfo(alias="dateCreated") | ||
"""The creation date.""" | ||
|
||
date_last_evaluated: Optional[datetime] = FieldInfo(alias="dateLastEvaluated", default=None) | ||
"""The last test evaluation date.""" | ||
|
||
date_last_sample_received: Optional[datetime] = FieldInfo(alias="dateLastSampleReceived", default=None) | ||
"""The last data sample received date.""" | ||
|
||
date_of_next_evaluation: Optional[datetime] = FieldInfo(alias="dateOfNextEvaluation", default=None) | ||
"""The next test evaluation date.""" | ||
|
||
date_updated: datetime = FieldInfo(alias="dateUpdated") | ||
"""The last updated date.""" | ||
|
||
description: Optional[str] = None | ||
"""The inference pipeline description.""" | ||
|
||
failing_goal_count: int = FieldInfo(alias="failingGoalCount") | ||
"""The number of tests failing.""" | ||
|
||
links: Links | ||
|
||
name: str | ||
"""The inference pipeline name.""" | ||
|
||
passing_goal_count: int = FieldInfo(alias="passingGoalCount") | ||
"""The number of tests passing.""" | ||
|
||
project_id: str = FieldInfo(alias="projectId") | ||
"""The project id.""" | ||
|
||
status: Literal["queued", "running", "paused", "failed", "completed", "unknown"] | ||
"""The status of test evaluation for the inference pipeline.""" | ||
|
||
status_message: Optional[str] = FieldInfo(alias="statusMessage", default=None) | ||
"""The status message of test evaluation for the inference pipeline.""" | ||
|
||
total_goal_count: int = FieldInfo(alias="totalGoalCount") | ||
"""The total number of tests.""" |
Oops, something went wrong.