Skip to content

Commit e8239e5

Browse files
jsondaicopybara-github
authored andcommitted
chore: GenAI Client(evals) - remove experimental (non-GA) warnings
PiperOrigin-RevId: 947753708
1 parent 73fde8d commit e8239e5

6 files changed

Lines changed: 38 additions & 269 deletions

File tree

agentplatform/_genai/evals.py

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -2592,10 +2592,6 @@ def generate_rubrics(
25922592
)
25932593
return types.EvaluationDataset(eval_dataset_df=prompts_with_rubrics)
25942594

2595-
@_common.experimental_warning(
2596-
"The Vertex SDK GenAI evals.get_evaluation_run module is experimental, "
2597-
"and may change in future versions."
2598-
)
25992595
def get_evaluation_run(
26002596
self,
26012597
*,
@@ -2633,10 +2629,6 @@ def get_evaluation_run(
26332629
object.__setattr__(result, "_eval_item_map", eval_item_map)
26342630
return result
26352631

2636-
@_common.experimental_warning(
2637-
"The Vertex SDK GenAI evals.create_evaluation_run module is experimental, "
2638-
"and may change in future versions."
2639-
)
26402632
def create_evaluation_run(
26412633
self,
26422634
*,
@@ -2815,10 +2807,6 @@ def create_evaluation_run(
28152807
config=config,
28162808
)
28172809

2818-
@_common.experimental_warning(
2819-
"The Vertex SDK GenAI evals.get_evaluation_set method is experimental, "
2820-
"and may change in future versions."
2821-
)
28222810
def get_evaluation_set(
28232811
self,
28242812
*,
@@ -2843,10 +2831,6 @@ def get_evaluation_set(
28432831
name = name.split("/")[-1]
28442832
return self._get_evaluation_set(name=name, config=config)
28452833

2846-
@_common.experimental_warning(
2847-
"The Vertex SDK GenAI evals.get_evaluation_item method is experimental, "
2848-
"and may change in future versions."
2849-
)
28502834
def get_evaluation_item(
28512835
self,
28522836
*,
@@ -2889,10 +2873,6 @@ def get_evaluation_item(
28892873
)
28902874
return result
28912875

2892-
@_common.experimental_warning(
2893-
"The Vertex SDK GenAI evals.create_evaluation_item module is experimental, "
2894-
"and may change in future versions."
2895-
)
28962876
def create_evaluation_item(
28972877
self,
28982878
*,
@@ -2920,10 +2900,6 @@ def create_evaluation_item(
29202900
config=config,
29212901
)
29222902

2923-
@_common.experimental_warning(
2924-
"The Vertex SDK GenAI evals.create_evaluation_set module is experimental, "
2925-
"and may change in future versions."
2926-
)
29272903
def create_evaluation_set(
29282904
self,
29292905
*,
@@ -2949,10 +2925,6 @@ def create_evaluation_set(
29492925
config=config,
29502926
)
29512927

2952-
@_common.experimental_warning(
2953-
"The Vertex SDK GenAI evals.generate_conversation_scenarios module is experimental, "
2954-
"and may change in future versions."
2955-
)
29562928
def generate_conversation_scenarios(
29572929
self,
29582930
*,
@@ -2986,10 +2958,6 @@ def generate_conversation_scenarios(
29862958
)
29872959
return _evals_utils._postprocess_user_scenarios_response(response)
29882960

2989-
@_common.experimental_warning(
2990-
"The Vertex SDK GenAI evals.generate_loss_clusters module is experimental, "
2991-
"and may change in future versions."
2992-
)
29932961
def generate_loss_clusters(
29942962
self,
29952963
*,
@@ -3067,10 +3035,6 @@ def generate_loss_clusters(
30673035
)
30683036
return completed.response
30693037

3070-
@_common.experimental_warning(
3071-
"The Vertex SDK GenAI evals.create_evaluation_metric method is experimental, "
3072-
"and may change in future versions."
3073-
)
30743038
def create_evaluation_metric(
30753039
self,
30763040
*,
@@ -3104,10 +3068,6 @@ def create_evaluation_metric(
31043068
# result.name is Optional[str], but we know it's always returned on creation
31053069
return cast(str, result.name)
31063070

3107-
@_common.experimental_warning(
3108-
"The Vertex SDK GenAI evals.get_evaluation_metric module is experimental, "
3109-
"and may change in future versions."
3110-
)
31113071
def get_evaluation_metric(
31123072
self,
31133073
*,
@@ -3120,10 +3080,6 @@ def get_evaluation_metric(
31203080
config=config,
31213081
)
31223082

3123-
@_common.experimental_warning(
3124-
"The Vertex SDK GenAI evals.list_evaluation_metrics module is experimental, "
3125-
"and may change in future versions."
3126-
)
31273083
def list_evaluation_metrics(
31283084
self,
31293085
*,
@@ -3162,10 +3118,6 @@ def list_evaluation_metrics(
31623118
config=config,
31633119
)
31643120

3165-
@_common.experimental_warning(
3166-
"The Vertex SDK GenAI evals.delete_evaluation_metric method is experimental, "
3167-
"and may change in future versions."
3168-
)
31693121
def delete_evaluation_metric(
31703122
self,
31713123
*,
@@ -4395,10 +4347,6 @@ async def evaluate_instances(
43954347

43964348
return result
43974349

4398-
@_common.experimental_warning(
4399-
"The Vertex SDK GenAI evals.get_evaluation_run module is experimental, "
4400-
"and may change in future versions."
4401-
)
44024350
async def get_evaluation_run(
44034351
self,
44044352
*,
@@ -4439,10 +4387,6 @@ async def get_evaluation_run(
44394387

44404388
return result
44414389

4442-
@_common.experimental_warning(
4443-
"The Vertex SDK GenAI evals.create_evaluation_run module is experimental, "
4444-
"and may change in future versions."
4445-
)
44464390
async def create_evaluation_run(
44474391
self,
44484392
*,
@@ -4624,10 +4568,6 @@ async def create_evaluation_run(
46244568

46254569
return result
46264570

4627-
@_common.experimental_warning(
4628-
"The Vertex SDK GenAI evals.get_evaluation_set method is experimental, "
4629-
"and may change in future versions."
4630-
)
46314571
async def get_evaluation_set(
46324572
self,
46334573
*,
@@ -4653,10 +4593,6 @@ async def get_evaluation_set(
46534593

46544594
return result
46554595

4656-
@_common.experimental_warning(
4657-
"The Vertex SDK GenAI evals.get_evaluation_item method is experimental, "
4658-
"and may change in future versions."
4659-
)
46604596
async def get_evaluation_item(
46614597
self,
46624598
*,
@@ -4700,10 +4636,6 @@ async def get_evaluation_item(
47004636

47014637
return result
47024638

4703-
@_common.experimental_warning(
4704-
"The Vertex SDK GenAI evals.create_evaluation_item module is experimental, "
4705-
"and may change in future versions."
4706-
)
47074639
async def create_evaluation_item(
47084640
self,
47094641
*,
@@ -4732,10 +4664,6 @@ async def create_evaluation_item(
47324664
)
47334665
return result
47344666

4735-
@_common.experimental_warning(
4736-
"The Vertex SDK GenAI evals.create_evaluation_set module is experimental, "
4737-
"and may change in future versions."
4738-
)
47394667
async def create_evaluation_set(
47404668
self,
47414669
*,
@@ -4762,10 +4690,6 @@ async def create_evaluation_set(
47624690
)
47634691
return result
47644692

4765-
@_common.experimental_warning(
4766-
"The Vertex SDK GenAI evals.generate_conversation_scenarios module is experimental, "
4767-
"and may change in future versions."
4768-
)
47694693
async def generate_conversation_scenarios(
47704694
self,
47714695
*,
@@ -4799,10 +4723,6 @@ async def generate_conversation_scenarios(
47994723
)
48004724
return _evals_utils._postprocess_user_scenarios_response(response)
48014725

4802-
@_common.experimental_warning(
4803-
"The Vertex SDK GenAI evals.generate_loss_clusters module is experimental, "
4804-
"and may change in future versions."
4805-
)
48064726
async def generate_loss_clusters(
48074727
self,
48084728
*,
@@ -4880,10 +4800,6 @@ async def generate_loss_clusters(
48804800
)
48814801
return completed.response
48824802

4883-
@_common.experimental_warning(
4884-
"The Vertex SDK GenAI evals.create_evaluation_metric module is experimental, "
4885-
"and may change in future versions."
4886-
)
48874803
async def create_evaluation_metric(
48884804
self,
48894805
*,
@@ -4914,10 +4830,6 @@ async def create_evaluation_metric(
49144830
)
49154831
return cast(str, result.name)
49164832

4917-
@_common.experimental_warning(
4918-
"The Vertex SDK GenAI evals.get_evaluation_metric module is experimental, "
4919-
"and may change in future versions."
4920-
)
49214833
async def get_evaluation_metric(
49224834
self,
49234835
*,
@@ -4930,10 +4842,6 @@ async def get_evaluation_metric(
49304842
config=config,
49314843
)
49324844

4933-
@_common.experimental_warning(
4934-
"The Vertex SDK GenAI evals.list_evaluation_metrics module is experimental, "
4935-
"and may change in future versions."
4936-
)
49374845
async def list_evaluation_metrics(
49384846
self,
49394847
*,
@@ -4972,10 +4880,6 @@ async def list_evaluation_metrics(
49724880
config=config,
49734881
)
49744882

4975-
@_common.experimental_warning(
4976-
"The Vertex SDK GenAI evals.delete_evaluation_metric method is experimental, "
4977-
"and may change in future versions."
4978-
)
49794883
async def delete_evaluation_metric(
49804884
self,
49814885
*,

0 commit comments

Comments
 (0)