Skip to content

Commit 83453b9

Browse files
jsondaicopybara-github
authored andcommitted
chore: GenAI Client(evals) - remove experimental (non-GA) warnings
PiperOrigin-RevId: 947951011
1 parent 1f3c074 commit 83453b9

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
*,
@@ -3012,10 +2984,6 @@ def generate_conversation_scenarios(
30122984
)
30132985
return _evals_utils._postprocess_user_scenarios_response(response)
30142986

3015-
@_common.experimental_warning(
3016-
"The Vertex SDK GenAI evals.generate_loss_clusters module is experimental, "
3017-
"and may change in future versions."
3018-
)
30192987
def generate_loss_clusters(
30202988
self,
30212989
*,
@@ -3093,10 +3061,6 @@ def generate_loss_clusters(
30933061
)
30943062
return completed.response
30953063

3096-
@_common.experimental_warning(
3097-
"The Vertex SDK GenAI evals.create_evaluation_metric method is experimental, "
3098-
"and may change in future versions."
3099-
)
31003064
def create_evaluation_metric(
31013065
self,
31023066
*,
@@ -3130,10 +3094,6 @@ def create_evaluation_metric(
31303094
# result.name is Optional[str], but we know it's always returned on creation
31313095
return cast(str, result.name)
31323096

3133-
@_common.experimental_warning(
3134-
"The Vertex SDK GenAI evals.get_evaluation_metric module is experimental, "
3135-
"and may change in future versions."
3136-
)
31373097
def get_evaluation_metric(
31383098
self,
31393099
*,
@@ -3146,10 +3106,6 @@ def get_evaluation_metric(
31463106
config=config,
31473107
)
31483108

3149-
@_common.experimental_warning(
3150-
"The Vertex SDK GenAI evals.list_evaluation_metrics module is experimental, "
3151-
"and may change in future versions."
3152-
)
31533109
def list_evaluation_metrics(
31543110
self,
31553111
*,
@@ -3188,10 +3144,6 @@ def list_evaluation_metrics(
31883144
config=config,
31893145
)
31903146

3191-
@_common.experimental_warning(
3192-
"The Vertex SDK GenAI evals.delete_evaluation_metric method is experimental, "
3193-
"and may change in future versions."
3194-
)
31953147
def delete_evaluation_metric(
31963148
self,
31973149
*,
@@ -4421,10 +4373,6 @@ async def evaluate_instances(
44214373

44224374
return result
44234375

4424-
@_common.experimental_warning(
4425-
"The Vertex SDK GenAI evals.get_evaluation_run module is experimental, "
4426-
"and may change in future versions."
4427-
)
44284376
async def get_evaluation_run(
44294377
self,
44304378
*,
@@ -4465,10 +4413,6 @@ async def get_evaluation_run(
44654413

44664414
return result
44674415

4468-
@_common.experimental_warning(
4469-
"The Vertex SDK GenAI evals.create_evaluation_run module is experimental, "
4470-
"and may change in future versions."
4471-
)
44724416
async def create_evaluation_run(
44734417
self,
44744418
*,
@@ -4650,10 +4594,6 @@ async def create_evaluation_run(
46504594

46514595
return result
46524596

4653-
@_common.experimental_warning(
4654-
"The Vertex SDK GenAI evals.get_evaluation_set method is experimental, "
4655-
"and may change in future versions."
4656-
)
46574597
async def get_evaluation_set(
46584598
self,
46594599
*,
@@ -4679,10 +4619,6 @@ async def get_evaluation_set(
46794619

46804620
return result
46814621

4682-
@_common.experimental_warning(
4683-
"The Vertex SDK GenAI evals.get_evaluation_item method is experimental, "
4684-
"and may change in future versions."
4685-
)
46864622
async def get_evaluation_item(
46874623
self,
46884624
*,
@@ -4726,10 +4662,6 @@ async def get_evaluation_item(
47264662

47274663
return result
47284664

4729-
@_common.experimental_warning(
4730-
"The Vertex SDK GenAI evals.create_evaluation_item module is experimental, "
4731-
"and may change in future versions."
4732-
)
47334665
async def create_evaluation_item(
47344666
self,
47354667
*,
@@ -4758,10 +4690,6 @@ async def create_evaluation_item(
47584690
)
47594691
return result
47604692

4761-
@_common.experimental_warning(
4762-
"The Vertex SDK GenAI evals.create_evaluation_set module is experimental, "
4763-
"and may change in future versions."
4764-
)
47654693
async def create_evaluation_set(
47664694
self,
47674695
*,
@@ -4788,10 +4716,6 @@ async def create_evaluation_set(
47884716
)
47894717
return result
47904718

4791-
@_common.experimental_warning(
4792-
"The Vertex SDK GenAI evals.generate_conversation_scenarios module is experimental, "
4793-
"and may change in future versions."
4794-
)
47954719
async def generate_conversation_scenarios(
47964720
self,
47974721
*,
@@ -4851,10 +4775,6 @@ async def generate_conversation_scenarios(
48514775
)
48524776
return _evals_utils._postprocess_user_scenarios_response(response)
48534777

4854-
@_common.experimental_warning(
4855-
"The Vertex SDK GenAI evals.generate_loss_clusters module is experimental, "
4856-
"and may change in future versions."
4857-
)
48584778
async def generate_loss_clusters(
48594779
self,
48604780
*,
@@ -4932,10 +4852,6 @@ async def generate_loss_clusters(
49324852
)
49334853
return completed.response
49344854

4935-
@_common.experimental_warning(
4936-
"The Vertex SDK GenAI evals.create_evaluation_metric module is experimental, "
4937-
"and may change in future versions."
4938-
)
49394855
async def create_evaluation_metric(
49404856
self,
49414857
*,
@@ -4966,10 +4882,6 @@ async def create_evaluation_metric(
49664882
)
49674883
return cast(str, result.name)
49684884

4969-
@_common.experimental_warning(
4970-
"The Vertex SDK GenAI evals.get_evaluation_metric module is experimental, "
4971-
"and may change in future versions."
4972-
)
49734885
async def get_evaluation_metric(
49744886
self,
49754887
*,
@@ -4982,10 +4894,6 @@ async def get_evaluation_metric(
49824894
config=config,
49834895
)
49844896

4985-
@_common.experimental_warning(
4986-
"The Vertex SDK GenAI evals.list_evaluation_metrics module is experimental, "
4987-
"and may change in future versions."
4988-
)
49894897
async def list_evaluation_metrics(
49904898
self,
49914899
*,
@@ -5024,10 +4932,6 @@ async def list_evaluation_metrics(
50244932
config=config,
50254933
)
50264934

5027-
@_common.experimental_warning(
5028-
"The Vertex SDK GenAI evals.delete_evaluation_metric method is experimental, "
5029-
"and may change in future versions."
5030-
)
50314935
async def delete_evaluation_metric(
50324936
self,
50334937
*,

0 commit comments

Comments
 (0)