eval-studio-client 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. eval_studio_client/api/__init__.py +43 -0
  2. eval_studio_client/api/api/__init__.py +5 -0
  3. eval_studio_client/api/api/human_calibration_service_api.py +304 -0
  4. eval_studio_client/api/api/perturbator_service_api.py +268 -1
  5. eval_studio_client/api/api/prompt_library_service_api.py +669 -0
  6. eval_studio_client/api/api/test_service_api.py +568 -0
  7. eval_studio_client/api/api/workflow_edge_service_api.py +296 -0
  8. eval_studio_client/api/api/workflow_node_service_api.py +1634 -0
  9. eval_studio_client/api/api/workflow_service_api.py +1609 -0
  10. eval_studio_client/api/docs/HumanCalibrationServiceApi.md +77 -0
  11. eval_studio_client/api/docs/PerturbationServiceCreatePerturbationRequest.md +1 -0
  12. eval_studio_client/api/docs/PerturbatorServiceApi.md +33 -3
  13. eval_studio_client/api/docs/PromptGenerationServiceAutoGeneratePromptsRequest.md +2 -1
  14. eval_studio_client/api/docs/PromptLibraryServiceApi.md +155 -0
  15. eval_studio_client/api/docs/ProtobufNullValue.md +12 -0
  16. eval_studio_client/api/docs/RequiredTheTestCaseToUpdate.md +1 -0
  17. eval_studio_client/api/docs/RequiredTheUpdatedWorkflow.md +44 -0
  18. eval_studio_client/api/docs/RequiredTheUpdatedWorkflowNode.md +44 -0
  19. eval_studio_client/api/docs/TestServiceApi.md +140 -0
  20. eval_studio_client/api/docs/TestServiceGenerateTestCasesRequest.md +1 -0
  21. eval_studio_client/api/docs/TestServiceImportTestCasesFromLibraryRequest.md +32 -0
  22. eval_studio_client/api/docs/TestServiceListTestCaseLibraryItemsRequest.md +35 -0
  23. eval_studio_client/api/docs/TestServicePerturbTestRequest.md +1 -0
  24. eval_studio_client/api/docs/V1BatchDeleteWorkflowsRequest.md +29 -0
  25. eval_studio_client/api/docs/V1BatchDeleteWorkflowsResponse.md +29 -0
  26. eval_studio_client/api/docs/V1BatchGetWorkflowEdgesResponse.md +29 -0
  27. eval_studio_client/api/docs/V1BatchGetWorkflowNodesResponse.md +29 -0
  28. eval_studio_client/api/docs/V1CreateEvaluationRequest.md +1 -0
  29. eval_studio_client/api/docs/V1CreateWorkflowResponse.md +29 -0
  30. eval_studio_client/api/docs/V1DeleteWorkflowNodeResponse.md +29 -0
  31. eval_studio_client/api/docs/V1DeleteWorkflowResponse.md +29 -0
  32. eval_studio_client/api/docs/V1EstimateThresholdRequest.md +33 -0
  33. eval_studio_client/api/docs/V1GetWorkflowNodePrerequisitesResponse.md +30 -0
  34. eval_studio_client/api/docs/V1GetWorkflowNodeResponse.md +29 -0
  35. eval_studio_client/api/docs/V1GetWorkflowResponse.md +29 -0
  36. eval_studio_client/api/docs/V1ImportEvaluationRequest.md +1 -0
  37. eval_studio_client/api/docs/V1ImportTestCasesFromLibraryResponse.md +29 -0
  38. eval_studio_client/api/docs/V1ImportTestCasesRequest.md +33 -0
  39. eval_studio_client/api/docs/V1LabeledTestCase.md +31 -0
  40. eval_studio_client/api/docs/V1ListPromptLibraryItemsResponse.md +29 -0
  41. eval_studio_client/api/docs/V1ListTestCaseLibraryItemsResponse.md +29 -0
  42. eval_studio_client/api/docs/V1ListWorkflowsResponse.md +29 -0
  43. eval_studio_client/api/docs/V1ProcessWorkflowNodeResponse.md +29 -0
  44. eval_studio_client/api/docs/V1PromptLibraryItem.md +42 -0
  45. eval_studio_client/api/docs/V1TestCase.md +1 -0
  46. eval_studio_client/api/docs/V1TestSuiteEvaluates.md +11 -0
  47. eval_studio_client/api/docs/V1UpdateWorkflowNodeResponse.md +29 -0
  48. eval_studio_client/api/docs/V1UpdateWorkflowResponse.md +29 -0
  49. eval_studio_client/api/docs/V1Workflow.md +46 -0
  50. eval_studio_client/api/docs/V1WorkflowEdge.md +40 -0
  51. eval_studio_client/api/docs/V1WorkflowEdgeType.md +12 -0
  52. eval_studio_client/api/docs/V1WorkflowNode.md +46 -0
  53. eval_studio_client/api/docs/V1WorkflowNodeArtifact.md +40 -0
  54. eval_studio_client/api/docs/V1WorkflowNodeArtifacts.md +29 -0
  55. eval_studio_client/api/docs/V1WorkflowNodeAttributes.md +30 -0
  56. eval_studio_client/api/docs/V1WorkflowNodeStatus.md +12 -0
  57. eval_studio_client/api/docs/V1WorkflowNodeType.md +12 -0
  58. eval_studio_client/api/docs/V1WorkflowNodeView.md +12 -0
  59. eval_studio_client/api/docs/V1WorkflowType.md +12 -0
  60. eval_studio_client/api/docs/WorkflowEdgeServiceApi.md +76 -0
  61. eval_studio_client/api/docs/WorkflowNodeServiceApi.md +423 -0
  62. eval_studio_client/api/docs/WorkflowServiceApi.md +417 -0
  63. eval_studio_client/api/models/__init__.py +38 -0
  64. eval_studio_client/api/models/perturbation_service_create_perturbation_request.py +8 -2
  65. eval_studio_client/api/models/prompt_generation_service_auto_generate_prompts_request.py +5 -3
  66. eval_studio_client/api/models/protobuf_null_value.py +36 -0
  67. eval_studio_client/api/models/required_the_test_case_to_update.py +6 -2
  68. eval_studio_client/api/models/required_the_updated_workflow.py +152 -0
  69. eval_studio_client/api/models/required_the_updated_workflow_node.py +152 -0
  70. eval_studio_client/api/models/test_service_generate_test_cases_request.py +4 -2
  71. eval_studio_client/api/models/test_service_import_test_cases_from_library_request.py +93 -0
  72. eval_studio_client/api/models/test_service_list_test_case_library_items_request.py +99 -0
  73. eval_studio_client/api/models/test_service_perturb_test_request.py +4 -2
  74. eval_studio_client/api/models/v1_batch_delete_workflows_request.py +87 -0
  75. eval_studio_client/api/models/v1_batch_delete_workflows_response.py +95 -0
  76. eval_studio_client/api/models/v1_batch_get_workflow_edges_response.py +95 -0
  77. eval_studio_client/api/models/v1_batch_get_workflow_nodes_response.py +95 -0
  78. eval_studio_client/api/models/v1_create_evaluation_request.py +7 -2
  79. eval_studio_client/api/models/v1_create_workflow_response.py +91 -0
  80. eval_studio_client/api/models/v1_delete_workflow_node_response.py +91 -0
  81. eval_studio_client/api/models/v1_delete_workflow_response.py +91 -0
  82. eval_studio_client/api/models/v1_estimate_threshold_request.py +103 -0
  83. eval_studio_client/api/models/v1_get_workflow_node_prerequisites_response.py +89 -0
  84. eval_studio_client/api/models/v1_get_workflow_node_response.py +91 -0
  85. eval_studio_client/api/models/v1_get_workflow_response.py +91 -0
  86. eval_studio_client/api/models/v1_import_evaluation_request.py +7 -2
  87. eval_studio_client/api/models/v1_import_test_cases_from_library_response.py +91 -0
  88. eval_studio_client/api/models/v1_import_test_cases_request.py +95 -0
  89. eval_studio_client/api/models/v1_labeled_test_case.py +91 -0
  90. eval_studio_client/api/models/v1_list_prompt_library_items_response.py +95 -0
  91. eval_studio_client/api/models/v1_list_test_case_library_items_response.py +95 -0
  92. eval_studio_client/api/models/v1_list_workflows_response.py +95 -0
  93. eval_studio_client/api/models/v1_process_workflow_node_response.py +91 -0
  94. eval_studio_client/api/models/v1_prompt_library_item.py +129 -0
  95. eval_studio_client/api/models/v1_test_case.py +6 -2
  96. eval_studio_client/api/models/v1_test_suite_evaluates.py +39 -0
  97. eval_studio_client/api/models/v1_update_workflow_node_response.py +91 -0
  98. eval_studio_client/api/models/v1_update_workflow_response.py +91 -0
  99. eval_studio_client/api/models/v1_workflow.py +156 -0
  100. eval_studio_client/api/models/v1_workflow_edge.py +123 -0
  101. eval_studio_client/api/models/v1_workflow_edge_type.py +37 -0
  102. eval_studio_client/api/models/v1_workflow_node.py +156 -0
  103. eval_studio_client/api/models/v1_workflow_node_artifact.py +122 -0
  104. eval_studio_client/api/models/v1_workflow_node_artifacts.py +97 -0
  105. eval_studio_client/api/models/v1_workflow_node_attributes.py +87 -0
  106. eval_studio_client/api/models/v1_workflow_node_status.py +40 -0
  107. eval_studio_client/api/models/v1_workflow_node_type.py +41 -0
  108. eval_studio_client/api/models/v1_workflow_node_view.py +38 -0
  109. eval_studio_client/api/models/v1_workflow_type.py +37 -0
  110. eval_studio_client/api/test/test_human_calibration_service_api.py +38 -0
  111. eval_studio_client/api/test/test_perturbation_service_create_perturbation_request.py +20 -2
  112. eval_studio_client/api/test/test_prompt_generation_service_auto_generate_prompts_request.py +4 -1
  113. eval_studio_client/api/test/test_prompt_library_service_api.py +43 -0
  114. eval_studio_client/api/test/test_protobuf_null_value.py +33 -0
  115. eval_studio_client/api/test/test_required_the_test_case_to_update.py +4 -1
  116. eval_studio_client/api/test/test_required_the_updated_workflow.py +88 -0
  117. eval_studio_client/api/test/test_required_the_updated_workflow_node.py +80 -0
  118. eval_studio_client/api/test/test_test_service_api.py +12 -0
  119. eval_studio_client/api/test/test_test_service_generate_test_cases_request.py +4 -1
  120. eval_studio_client/api/test/test_test_service_import_test_cases_from_library_request.py +56 -0
  121. eval_studio_client/api/test/test_test_service_list_test_case_library_items_request.py +63 -0
  122. eval_studio_client/api/test/test_test_service_perturb_test_request.py +4 -1
  123. eval_studio_client/api/test/test_v1_batch_delete_test_cases_response.py +4 -1
  124. eval_studio_client/api/test/test_v1_batch_delete_workflows_request.py +53 -0
  125. eval_studio_client/api/test/test_v1_batch_delete_workflows_response.py +92 -0
  126. eval_studio_client/api/test/test_v1_batch_get_workflow_edges_response.py +64 -0
  127. eval_studio_client/api/test/test_v1_batch_get_workflow_nodes_response.py +84 -0
  128. eval_studio_client/api/test/test_v1_create_evaluation_request.py +20 -2
  129. eval_studio_client/api/test/test_v1_create_test_case_response.py +4 -1
  130. eval_studio_client/api/test/test_v1_create_workflow_response.py +90 -0
  131. eval_studio_client/api/test/test_v1_delete_test_case_response.py +4 -1
  132. eval_studio_client/api/test/test_v1_delete_workflow_node_response.py +82 -0
  133. eval_studio_client/api/test/test_v1_delete_workflow_response.py +90 -0
  134. eval_studio_client/api/test/test_v1_estimate_threshold_request.py +60 -0
  135. eval_studio_client/api/test/test_v1_evaluation_test.py +4 -1
  136. eval_studio_client/api/test/test_v1_find_all_test_cases_by_id_response.py +4 -1
  137. eval_studio_client/api/test/test_v1_get_test_case_response.py +4 -1
  138. eval_studio_client/api/test/test_v1_get_workflow_node_prerequisites_response.py +56 -0
  139. eval_studio_client/api/test/test_v1_get_workflow_node_response.py +82 -0
  140. eval_studio_client/api/test/test_v1_get_workflow_response.py +90 -0
  141. eval_studio_client/api/test/test_v1_import_evaluation_request.py +16 -1
  142. eval_studio_client/api/test/test_v1_import_test_cases_from_library_response.py +71 -0
  143. eval_studio_client/api/test/test_v1_import_test_cases_request.py +57 -0
  144. eval_studio_client/api/test/test_v1_labeled_test_case.py +53 -0
  145. eval_studio_client/api/test/test_v1_list_prompt_library_items_response.py +71 -0
  146. eval_studio_client/api/test/test_v1_list_test_case_library_items_response.py +71 -0
  147. eval_studio_client/api/test/test_v1_list_test_cases_response.py +4 -1
  148. eval_studio_client/api/test/test_v1_list_workflows_response.py +92 -0
  149. eval_studio_client/api/test/test_v1_process_workflow_node_response.py +71 -0
  150. eval_studio_client/api/test/test_v1_prompt_library_item.py +68 -0
  151. eval_studio_client/api/test/test_v1_test_case.py +4 -1
  152. eval_studio_client/api/test/test_v1_test_suite_evaluates.py +33 -0
  153. eval_studio_client/api/test/test_v1_update_test_case_response.py +4 -1
  154. eval_studio_client/api/test/test_v1_update_workflow_node_response.py +82 -0
  155. eval_studio_client/api/test/test_v1_update_workflow_response.py +90 -0
  156. eval_studio_client/api/test/test_v1_workflow.py +89 -0
  157. eval_studio_client/api/test/test_v1_workflow_edge.py +61 -0
  158. eval_studio_client/api/test/test_v1_workflow_edge_type.py +33 -0
  159. eval_studio_client/api/test/test_v1_workflow_node.py +81 -0
  160. eval_studio_client/api/test/test_v1_workflow_node_artifact.py +61 -0
  161. eval_studio_client/api/test/test_v1_workflow_node_artifacts.py +64 -0
  162. eval_studio_client/api/test/test_v1_workflow_node_attributes.py +51 -0
  163. eval_studio_client/api/test/test_v1_workflow_node_status.py +33 -0
  164. eval_studio_client/api/test/test_v1_workflow_node_type.py +33 -0
  165. eval_studio_client/api/test/test_v1_workflow_node_view.py +33 -0
  166. eval_studio_client/api/test/test_v1_workflow_type.py +33 -0
  167. eval_studio_client/api/test/test_workflow_edge_service_api.py +38 -0
  168. eval_studio_client/api/test/test_workflow_node_service_api.py +73 -0
  169. eval_studio_client/api/test/test_workflow_service_api.py +73 -0
  170. eval_studio_client/client.py +7 -0
  171. eval_studio_client/dashboards.py +29 -0
  172. eval_studio_client/gen/openapiv2/eval_studio.swagger.json +2665 -794
  173. eval_studio_client/leaderboards.py +123 -0
  174. eval_studio_client/models.py +3 -42
  175. eval_studio_client/test_labs.py +49 -21
  176. eval_studio_client/tests.py +188 -1
  177. {eval_studio_client-1.0.0.dist-info → eval_studio_client-1.0.1.dist-info}/METADATA +1 -2
  178. {eval_studio_client-1.0.0.dist-info → eval_studio_client-1.0.1.dist-info}/RECORD +179 -50
  179. {eval_studio_client-1.0.0.dist-info → eval_studio_client-1.0.1.dist-info}/WHEEL +1 -1
@@ -16,7 +16,9 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import Field, field_validator
19
+ from datetime import datetime
20
+ from pydantic import Field, StrictBool, StrictStr, field_validator
21
+ from typing import Optional
20
22
  from typing_extensions import Annotated
21
23
  from eval_studio_client.api.models.v1_get_perturbator_response import V1GetPerturbatorResponse
22
24
  from eval_studio_client.api.models.v1_list_perturbators_response import V1ListPerturbatorsResponse
@@ -296,6 +298,20 @@ class PerturbatorServiceApi:
296
298
  @validate_call
297
299
  def perturbator_service_list_perturbators(
298
300
  self,
301
+ default_h2ogpte_model_name: Annotated[Optional[StrictStr], Field(description="Output only. Name of the Model resource. e.g.: \"models/<UUID>\"")] = None,
302
+ default_h2ogpte_model_create_time: Annotated[Optional[datetime], Field(description="Output only. Timestamp when the Model was created.")] = None,
303
+ default_h2ogpte_model_creator: Annotated[Optional[StrictStr], Field(description="Output only. Name of the user or service that requested creation of the Model.")] = None,
304
+ default_h2ogpte_model_update_time: Annotated[Optional[datetime], Field(description="Output only. Optional. Timestamp when the Model was last updated.")] = None,
305
+ default_h2ogpte_model_updater: Annotated[Optional[StrictStr], Field(description="Output only. Optional. Name of the user or service that requested update of the Model.")] = None,
306
+ default_h2ogpte_model_delete_time: Annotated[Optional[datetime], Field(description="Output only. Optional. Set when the Model is deleted. When set Model should be considered as deleted.")] = None,
307
+ default_h2ogpte_model_deleter: Annotated[Optional[StrictStr], Field(description="Output only. Optional. Name of the user or service that requested deletion of the Model.")] = None,
308
+ default_h2ogpte_model_display_name: Annotated[Optional[StrictStr], Field(description="Human readable name of the Model.")] = None,
309
+ default_h2ogpte_model_description: Annotated[Optional[StrictStr], Field(description="Optional. Arbitrary description of the Model.")] = None,
310
+ default_h2ogpte_model_url: Annotated[Optional[StrictStr], Field(description="Optional. Immutable. Absolute URL to the Model.")] = None,
311
+ default_h2ogpte_model_api_key: Annotated[Optional[StrictStr], Field(description="Optional. API key used to access the Model. Not set for read calls (i.e. get, list) by public clients (front-end). Set only for internal (server-to-worker) communication.")] = None,
312
+ default_h2ogpte_model_type: Annotated[Optional[StrictStr], Field(description="Immutable. Type of this Model. - MODEL_TYPE_UNSPECIFIED: Unspecified type. - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG. - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG. - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM. - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM. - MODEL_TYPE_OPENAI_CHAT: OpenAI chat. - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat. - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat. - MODEL_TYPE_H2OLLMOPS: H2O LLMOps. - MODEL_TYPE_OLLAMA: Ollama. - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.")] = None,
313
+ default_h2ogpte_model_parameters: Annotated[Optional[StrictStr], Field(description="Optional. Model specific parameters in JSON format.")] = None,
314
+ default_h2ogpte_model_demo: Annotated[Optional[StrictBool], Field(description="Output only. Whether the Model is a demo resource or not. Demo resources are read only.")] = None,
299
315
  _request_timeout: Union[
300
316
  None,
301
317
  Annotated[StrictFloat, Field(gt=0)],
@@ -312,6 +328,34 @@ class PerturbatorServiceApi:
312
328
  """perturbator_service_list_perturbators
313
329
 
314
330
 
331
+ :param default_h2ogpte_model_name: Output only. Name of the Model resource. e.g.: \"models/<UUID>\"
332
+ :type default_h2ogpte_model_name: str
333
+ :param default_h2ogpte_model_create_time: Output only. Timestamp when the Model was created.
334
+ :type default_h2ogpte_model_create_time: datetime
335
+ :param default_h2ogpte_model_creator: Output only. Name of the user or service that requested creation of the Model.
336
+ :type default_h2ogpte_model_creator: str
337
+ :param default_h2ogpte_model_update_time: Output only. Optional. Timestamp when the Model was last updated.
338
+ :type default_h2ogpte_model_update_time: datetime
339
+ :param default_h2ogpte_model_updater: Output only. Optional. Name of the user or service that requested update of the Model.
340
+ :type default_h2ogpte_model_updater: str
341
+ :param default_h2ogpte_model_delete_time: Output only. Optional. Set when the Model is deleted. When set Model should be considered as deleted.
342
+ :type default_h2ogpte_model_delete_time: datetime
343
+ :param default_h2ogpte_model_deleter: Output only. Optional. Name of the user or service that requested deletion of the Model.
344
+ :type default_h2ogpte_model_deleter: str
345
+ :param default_h2ogpte_model_display_name: Human readable name of the Model.
346
+ :type default_h2ogpte_model_display_name: str
347
+ :param default_h2ogpte_model_description: Optional. Arbitrary description of the Model.
348
+ :type default_h2ogpte_model_description: str
349
+ :param default_h2ogpte_model_url: Optional. Immutable. Absolute URL to the Model.
350
+ :type default_h2ogpte_model_url: str
351
+ :param default_h2ogpte_model_api_key: Optional. API key used to access the Model. Not set for read calls (i.e. get, list) by public clients (front-end). Set only for internal (server-to-worker) communication.
352
+ :type default_h2ogpte_model_api_key: str
353
+ :param default_h2ogpte_model_type: Immutable. Type of this Model. - MODEL_TYPE_UNSPECIFIED: Unspecified type. - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG. - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG. - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM. - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM. - MODEL_TYPE_OPENAI_CHAT: OpenAI chat. - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat. - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat. - MODEL_TYPE_H2OLLMOPS: H2O LLMOps. - MODEL_TYPE_OLLAMA: Ollama. - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.
354
+ :type default_h2ogpte_model_type: str
355
+ :param default_h2ogpte_model_parameters: Optional. Model specific parameters in JSON format.
356
+ :type default_h2ogpte_model_parameters: str
357
+ :param default_h2ogpte_model_demo: Output only. Whether the Model is a demo resource or not. Demo resources are read only.
358
+ :type default_h2ogpte_model_demo: bool
315
359
  :param _request_timeout: timeout setting for this request. If one
316
360
  number provided, it will be total request
317
361
  timeout. It can also be a pair (tuple) of
@@ -335,6 +379,20 @@ class PerturbatorServiceApi:
335
379
  """ # noqa: E501
336
380
 
337
381
  _param = self._perturbator_service_list_perturbators_serialize(
382
+ default_h2ogpte_model_name=default_h2ogpte_model_name,
383
+ default_h2ogpte_model_create_time=default_h2ogpte_model_create_time,
384
+ default_h2ogpte_model_creator=default_h2ogpte_model_creator,
385
+ default_h2ogpte_model_update_time=default_h2ogpte_model_update_time,
386
+ default_h2ogpte_model_updater=default_h2ogpte_model_updater,
387
+ default_h2ogpte_model_delete_time=default_h2ogpte_model_delete_time,
388
+ default_h2ogpte_model_deleter=default_h2ogpte_model_deleter,
389
+ default_h2ogpte_model_display_name=default_h2ogpte_model_display_name,
390
+ default_h2ogpte_model_description=default_h2ogpte_model_description,
391
+ default_h2ogpte_model_url=default_h2ogpte_model_url,
392
+ default_h2ogpte_model_api_key=default_h2ogpte_model_api_key,
393
+ default_h2ogpte_model_type=default_h2ogpte_model_type,
394
+ default_h2ogpte_model_parameters=default_h2ogpte_model_parameters,
395
+ default_h2ogpte_model_demo=default_h2ogpte_model_demo,
338
396
  _request_auth=_request_auth,
339
397
  _content_type=_content_type,
340
398
  _headers=_headers,
@@ -358,6 +416,20 @@ class PerturbatorServiceApi:
358
416
  @validate_call
359
417
  def perturbator_service_list_perturbators_with_http_info(
360
418
  self,
419
+ default_h2ogpte_model_name: Annotated[Optional[StrictStr], Field(description="Output only. Name of the Model resource. e.g.: \"models/<UUID>\"")] = None,
420
+ default_h2ogpte_model_create_time: Annotated[Optional[datetime], Field(description="Output only. Timestamp when the Model was created.")] = None,
421
+ default_h2ogpte_model_creator: Annotated[Optional[StrictStr], Field(description="Output only. Name of the user or service that requested creation of the Model.")] = None,
422
+ default_h2ogpte_model_update_time: Annotated[Optional[datetime], Field(description="Output only. Optional. Timestamp when the Model was last updated.")] = None,
423
+ default_h2ogpte_model_updater: Annotated[Optional[StrictStr], Field(description="Output only. Optional. Name of the user or service that requested update of the Model.")] = None,
424
+ default_h2ogpte_model_delete_time: Annotated[Optional[datetime], Field(description="Output only. Optional. Set when the Model is deleted. When set Model should be considered as deleted.")] = None,
425
+ default_h2ogpte_model_deleter: Annotated[Optional[StrictStr], Field(description="Output only. Optional. Name of the user or service that requested deletion of the Model.")] = None,
426
+ default_h2ogpte_model_display_name: Annotated[Optional[StrictStr], Field(description="Human readable name of the Model.")] = None,
427
+ default_h2ogpte_model_description: Annotated[Optional[StrictStr], Field(description="Optional. Arbitrary description of the Model.")] = None,
428
+ default_h2ogpte_model_url: Annotated[Optional[StrictStr], Field(description="Optional. Immutable. Absolute URL to the Model.")] = None,
429
+ default_h2ogpte_model_api_key: Annotated[Optional[StrictStr], Field(description="Optional. API key used to access the Model. Not set for read calls (i.e. get, list) by public clients (front-end). Set only for internal (server-to-worker) communication.")] = None,
430
+ default_h2ogpte_model_type: Annotated[Optional[StrictStr], Field(description="Immutable. Type of this Model. - MODEL_TYPE_UNSPECIFIED: Unspecified type. - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG. - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG. - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM. - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM. - MODEL_TYPE_OPENAI_CHAT: OpenAI chat. - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat. - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat. - MODEL_TYPE_H2OLLMOPS: H2O LLMOps. - MODEL_TYPE_OLLAMA: Ollama. - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.")] = None,
431
+ default_h2ogpte_model_parameters: Annotated[Optional[StrictStr], Field(description="Optional. Model specific parameters in JSON format.")] = None,
432
+ default_h2ogpte_model_demo: Annotated[Optional[StrictBool], Field(description="Output only. Whether the Model is a demo resource or not. Demo resources are read only.")] = None,
361
433
  _request_timeout: Union[
362
434
  None,
363
435
  Annotated[StrictFloat, Field(gt=0)],
@@ -374,6 +446,34 @@ class PerturbatorServiceApi:
374
446
  """perturbator_service_list_perturbators
375
447
 
376
448
 
449
+ :param default_h2ogpte_model_name: Output only. Name of the Model resource. e.g.: \"models/<UUID>\"
450
+ :type default_h2ogpte_model_name: str
451
+ :param default_h2ogpte_model_create_time: Output only. Timestamp when the Model was created.
452
+ :type default_h2ogpte_model_create_time: datetime
453
+ :param default_h2ogpte_model_creator: Output only. Name of the user or service that requested creation of the Model.
454
+ :type default_h2ogpte_model_creator: str
455
+ :param default_h2ogpte_model_update_time: Output only. Optional. Timestamp when the Model was last updated.
456
+ :type default_h2ogpte_model_update_time: datetime
457
+ :param default_h2ogpte_model_updater: Output only. Optional. Name of the user or service that requested update of the Model.
458
+ :type default_h2ogpte_model_updater: str
459
+ :param default_h2ogpte_model_delete_time: Output only. Optional. Set when the Model is deleted. When set Model should be considered as deleted.
460
+ :type default_h2ogpte_model_delete_time: datetime
461
+ :param default_h2ogpte_model_deleter: Output only. Optional. Name of the user or service that requested deletion of the Model.
462
+ :type default_h2ogpte_model_deleter: str
463
+ :param default_h2ogpte_model_display_name: Human readable name of the Model.
464
+ :type default_h2ogpte_model_display_name: str
465
+ :param default_h2ogpte_model_description: Optional. Arbitrary description of the Model.
466
+ :type default_h2ogpte_model_description: str
467
+ :param default_h2ogpte_model_url: Optional. Immutable. Absolute URL to the Model.
468
+ :type default_h2ogpte_model_url: str
469
+ :param default_h2ogpte_model_api_key: Optional. API key used to access the Model. Not set for read calls (i.e. get, list) by public clients (front-end). Set only for internal (server-to-worker) communication.
470
+ :type default_h2ogpte_model_api_key: str
471
+ :param default_h2ogpte_model_type: Immutable. Type of this Model. - MODEL_TYPE_UNSPECIFIED: Unspecified type. - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG. - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG. - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM. - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM. - MODEL_TYPE_OPENAI_CHAT: OpenAI chat. - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat. - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat. - MODEL_TYPE_H2OLLMOPS: H2O LLMOps. - MODEL_TYPE_OLLAMA: Ollama. - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.
472
+ :type default_h2ogpte_model_type: str
473
+ :param default_h2ogpte_model_parameters: Optional. Model specific parameters in JSON format.
474
+ :type default_h2ogpte_model_parameters: str
475
+ :param default_h2ogpte_model_demo: Output only. Whether the Model is a demo resource or not. Demo resources are read only.
476
+ :type default_h2ogpte_model_demo: bool
377
477
  :param _request_timeout: timeout setting for this request. If one
378
478
  number provided, it will be total request
379
479
  timeout. It can also be a pair (tuple) of
@@ -397,6 +497,20 @@ class PerturbatorServiceApi:
397
497
  """ # noqa: E501
398
498
 
399
499
  _param = self._perturbator_service_list_perturbators_serialize(
500
+ default_h2ogpte_model_name=default_h2ogpte_model_name,
501
+ default_h2ogpte_model_create_time=default_h2ogpte_model_create_time,
502
+ default_h2ogpte_model_creator=default_h2ogpte_model_creator,
503
+ default_h2ogpte_model_update_time=default_h2ogpte_model_update_time,
504
+ default_h2ogpte_model_updater=default_h2ogpte_model_updater,
505
+ default_h2ogpte_model_delete_time=default_h2ogpte_model_delete_time,
506
+ default_h2ogpte_model_deleter=default_h2ogpte_model_deleter,
507
+ default_h2ogpte_model_display_name=default_h2ogpte_model_display_name,
508
+ default_h2ogpte_model_description=default_h2ogpte_model_description,
509
+ default_h2ogpte_model_url=default_h2ogpte_model_url,
510
+ default_h2ogpte_model_api_key=default_h2ogpte_model_api_key,
511
+ default_h2ogpte_model_type=default_h2ogpte_model_type,
512
+ default_h2ogpte_model_parameters=default_h2ogpte_model_parameters,
513
+ default_h2ogpte_model_demo=default_h2ogpte_model_demo,
400
514
  _request_auth=_request_auth,
401
515
  _content_type=_content_type,
402
516
  _headers=_headers,
@@ -420,6 +534,20 @@ class PerturbatorServiceApi:
420
534
  @validate_call
421
535
  def perturbator_service_list_perturbators_without_preload_content(
422
536
  self,
537
+ default_h2ogpte_model_name: Annotated[Optional[StrictStr], Field(description="Output only. Name of the Model resource. e.g.: \"models/<UUID>\"")] = None,
538
+ default_h2ogpte_model_create_time: Annotated[Optional[datetime], Field(description="Output only. Timestamp when the Model was created.")] = None,
539
+ default_h2ogpte_model_creator: Annotated[Optional[StrictStr], Field(description="Output only. Name of the user or service that requested creation of the Model.")] = None,
540
+ default_h2ogpte_model_update_time: Annotated[Optional[datetime], Field(description="Output only. Optional. Timestamp when the Model was last updated.")] = None,
541
+ default_h2ogpte_model_updater: Annotated[Optional[StrictStr], Field(description="Output only. Optional. Name of the user or service that requested update of the Model.")] = None,
542
+ default_h2ogpte_model_delete_time: Annotated[Optional[datetime], Field(description="Output only. Optional. Set when the Model is deleted. When set Model should be considered as deleted.")] = None,
543
+ default_h2ogpte_model_deleter: Annotated[Optional[StrictStr], Field(description="Output only. Optional. Name of the user or service that requested deletion of the Model.")] = None,
544
+ default_h2ogpte_model_display_name: Annotated[Optional[StrictStr], Field(description="Human readable name of the Model.")] = None,
545
+ default_h2ogpte_model_description: Annotated[Optional[StrictStr], Field(description="Optional. Arbitrary description of the Model.")] = None,
546
+ default_h2ogpte_model_url: Annotated[Optional[StrictStr], Field(description="Optional. Immutable. Absolute URL to the Model.")] = None,
547
+ default_h2ogpte_model_api_key: Annotated[Optional[StrictStr], Field(description="Optional. API key used to access the Model. Not set for read calls (i.e. get, list) by public clients (front-end). Set only for internal (server-to-worker) communication.")] = None,
548
+ default_h2ogpte_model_type: Annotated[Optional[StrictStr], Field(description="Immutable. Type of this Model. - MODEL_TYPE_UNSPECIFIED: Unspecified type. - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG. - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG. - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM. - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM. - MODEL_TYPE_OPENAI_CHAT: OpenAI chat. - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat. - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat. - MODEL_TYPE_H2OLLMOPS: H2O LLMOps. - MODEL_TYPE_OLLAMA: Ollama. - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.")] = None,
549
+ default_h2ogpte_model_parameters: Annotated[Optional[StrictStr], Field(description="Optional. Model specific parameters in JSON format.")] = None,
550
+ default_h2ogpte_model_demo: Annotated[Optional[StrictBool], Field(description="Output only. Whether the Model is a demo resource or not. Demo resources are read only.")] = None,
423
551
  _request_timeout: Union[
424
552
  None,
425
553
  Annotated[StrictFloat, Field(gt=0)],
@@ -436,6 +564,34 @@ class PerturbatorServiceApi:
436
564
  """perturbator_service_list_perturbators
437
565
 
438
566
 
567
+ :param default_h2ogpte_model_name: Output only. Name of the Model resource. e.g.: \"models/<UUID>\"
568
+ :type default_h2ogpte_model_name: str
569
+ :param default_h2ogpte_model_create_time: Output only. Timestamp when the Model was created.
570
+ :type default_h2ogpte_model_create_time: datetime
571
+ :param default_h2ogpte_model_creator: Output only. Name of the user or service that requested creation of the Model.
572
+ :type default_h2ogpte_model_creator: str
573
+ :param default_h2ogpte_model_update_time: Output only. Optional. Timestamp when the Model was last updated.
574
+ :type default_h2ogpte_model_update_time: datetime
575
+ :param default_h2ogpte_model_updater: Output only. Optional. Name of the user or service that requested update of the Model.
576
+ :type default_h2ogpte_model_updater: str
577
+ :param default_h2ogpte_model_delete_time: Output only. Optional. Set when the Model is deleted. When set Model should be considered as deleted.
578
+ :type default_h2ogpte_model_delete_time: datetime
579
+ :param default_h2ogpte_model_deleter: Output only. Optional. Name of the user or service that requested deletion of the Model.
580
+ :type default_h2ogpte_model_deleter: str
581
+ :param default_h2ogpte_model_display_name: Human readable name of the Model.
582
+ :type default_h2ogpte_model_display_name: str
583
+ :param default_h2ogpte_model_description: Optional. Arbitrary description of the Model.
584
+ :type default_h2ogpte_model_description: str
585
+ :param default_h2ogpte_model_url: Optional. Immutable. Absolute URL to the Model.
586
+ :type default_h2ogpte_model_url: str
587
+ :param default_h2ogpte_model_api_key: Optional. API key used to access the Model. Not set for read calls (i.e. get, list) by public clients (front-end). Set only for internal (server-to-worker) communication.
588
+ :type default_h2ogpte_model_api_key: str
589
+ :param default_h2ogpte_model_type: Immutable. Type of this Model. - MODEL_TYPE_UNSPECIFIED: Unspecified type. - MODEL_TYPE_H2OGPTE_RAG: h2oGPTe RAG. - MODEL_TYPE_OPENAI_RAG: OpenAI Assistant RAG. - MODEL_TYPE_H2OGPTE_LLM: h2oGPTe LLM. - MODEL_TYPE_H2OGPT_LLM: h2oGPT LLM. - MODEL_TYPE_OPENAI_CHAT: OpenAI chat. - MODEL_TYPE_AZURE_OPENAI_CHAT: Microsoft Azure hosted OpenAI Chat. - MODEL_TYPE_OPENAI_API_CHAT: OpenAI API chat. - MODEL_TYPE_H2OLLMOPS: H2O LLMOps. - MODEL_TYPE_OLLAMA: Ollama. - MODEL_TYPE_AMAZON_BEDROCK: Amazon Bedrock.
590
+ :type default_h2ogpte_model_type: str
591
+ :param default_h2ogpte_model_parameters: Optional. Model specific parameters in JSON format.
592
+ :type default_h2ogpte_model_parameters: str
593
+ :param default_h2ogpte_model_demo: Output only. Whether the Model is a demo resource or not. Demo resources are read only.
594
+ :type default_h2ogpte_model_demo: bool
439
595
  :param _request_timeout: timeout setting for this request. If one
440
596
  number provided, it will be total request
441
597
  timeout. It can also be a pair (tuple) of
@@ -459,6 +615,20 @@ class PerturbatorServiceApi:
459
615
  """ # noqa: E501
460
616
 
461
617
  _param = self._perturbator_service_list_perturbators_serialize(
618
+ default_h2ogpte_model_name=default_h2ogpte_model_name,
619
+ default_h2ogpte_model_create_time=default_h2ogpte_model_create_time,
620
+ default_h2ogpte_model_creator=default_h2ogpte_model_creator,
621
+ default_h2ogpte_model_update_time=default_h2ogpte_model_update_time,
622
+ default_h2ogpte_model_updater=default_h2ogpte_model_updater,
623
+ default_h2ogpte_model_delete_time=default_h2ogpte_model_delete_time,
624
+ default_h2ogpte_model_deleter=default_h2ogpte_model_deleter,
625
+ default_h2ogpte_model_display_name=default_h2ogpte_model_display_name,
626
+ default_h2ogpte_model_description=default_h2ogpte_model_description,
627
+ default_h2ogpte_model_url=default_h2ogpte_model_url,
628
+ default_h2ogpte_model_api_key=default_h2ogpte_model_api_key,
629
+ default_h2ogpte_model_type=default_h2ogpte_model_type,
630
+ default_h2ogpte_model_parameters=default_h2ogpte_model_parameters,
631
+ default_h2ogpte_model_demo=default_h2ogpte_model_demo,
462
632
  _request_auth=_request_auth,
463
633
  _content_type=_content_type,
464
634
  _headers=_headers,
@@ -477,6 +647,20 @@ class PerturbatorServiceApi:
477
647
 
478
648
  def _perturbator_service_list_perturbators_serialize(
479
649
  self,
650
+ default_h2ogpte_model_name,
651
+ default_h2ogpte_model_create_time,
652
+ default_h2ogpte_model_creator,
653
+ default_h2ogpte_model_update_time,
654
+ default_h2ogpte_model_updater,
655
+ default_h2ogpte_model_delete_time,
656
+ default_h2ogpte_model_deleter,
657
+ default_h2ogpte_model_display_name,
658
+ default_h2ogpte_model_description,
659
+ default_h2ogpte_model_url,
660
+ default_h2ogpte_model_api_key,
661
+ default_h2ogpte_model_type,
662
+ default_h2ogpte_model_parameters,
663
+ default_h2ogpte_model_demo,
480
664
  _request_auth,
481
665
  _content_type,
482
666
  _headers,
@@ -497,6 +681,89 @@ class PerturbatorServiceApi:
497
681
 
498
682
  # process the path parameters
499
683
  # process the query parameters
684
+ if default_h2ogpte_model_name is not None:
685
+
686
+ _query_params.append(('defaultH2ogpteModel.name', default_h2ogpte_model_name))
687
+
688
+ if default_h2ogpte_model_create_time is not None:
689
+ if isinstance(default_h2ogpte_model_create_time, datetime):
690
+ _query_params.append(
691
+ (
692
+ 'defaultH2ogpteModel.createTime',
693
+ default_h2ogpte_model_create_time.strftime(
694
+ self.api_client.configuration.datetime_format
695
+ )
696
+ )
697
+ )
698
+ else:
699
+ _query_params.append(('defaultH2ogpteModel.createTime', default_h2ogpte_model_create_time))
700
+
701
+ if default_h2ogpte_model_creator is not None:
702
+
703
+ _query_params.append(('defaultH2ogpteModel.creator', default_h2ogpte_model_creator))
704
+
705
+ if default_h2ogpte_model_update_time is not None:
706
+ if isinstance(default_h2ogpte_model_update_time, datetime):
707
+ _query_params.append(
708
+ (
709
+ 'defaultH2ogpteModel.updateTime',
710
+ default_h2ogpte_model_update_time.strftime(
711
+ self.api_client.configuration.datetime_format
712
+ )
713
+ )
714
+ )
715
+ else:
716
+ _query_params.append(('defaultH2ogpteModel.updateTime', default_h2ogpte_model_update_time))
717
+
718
+ if default_h2ogpte_model_updater is not None:
719
+
720
+ _query_params.append(('defaultH2ogpteModel.updater', default_h2ogpte_model_updater))
721
+
722
+ if default_h2ogpte_model_delete_time is not None:
723
+ if isinstance(default_h2ogpte_model_delete_time, datetime):
724
+ _query_params.append(
725
+ (
726
+ 'defaultH2ogpteModel.deleteTime',
727
+ default_h2ogpte_model_delete_time.strftime(
728
+ self.api_client.configuration.datetime_format
729
+ )
730
+ )
731
+ )
732
+ else:
733
+ _query_params.append(('defaultH2ogpteModel.deleteTime', default_h2ogpte_model_delete_time))
734
+
735
+ if default_h2ogpte_model_deleter is not None:
736
+
737
+ _query_params.append(('defaultH2ogpteModel.deleter', default_h2ogpte_model_deleter))
738
+
739
+ if default_h2ogpte_model_display_name is not None:
740
+
741
+ _query_params.append(('defaultH2ogpteModel.displayName', default_h2ogpte_model_display_name))
742
+
743
+ if default_h2ogpte_model_description is not None:
744
+
745
+ _query_params.append(('defaultH2ogpteModel.description', default_h2ogpte_model_description))
746
+
747
+ if default_h2ogpte_model_url is not None:
748
+
749
+ _query_params.append(('defaultH2ogpteModel.url', default_h2ogpte_model_url))
750
+
751
+ if default_h2ogpte_model_api_key is not None:
752
+
753
+ _query_params.append(('defaultH2ogpteModel.apiKey', default_h2ogpte_model_api_key))
754
+
755
+ if default_h2ogpte_model_type is not None:
756
+
757
+ _query_params.append(('defaultH2ogpteModel.type', default_h2ogpte_model_type))
758
+
759
+ if default_h2ogpte_model_parameters is not None:
760
+
761
+ _query_params.append(('defaultH2ogpteModel.parameters', default_h2ogpte_model_parameters))
762
+
763
+ if default_h2ogpte_model_demo is not None:
764
+
765
+ _query_params.append(('defaultH2ogpteModel.demo', default_h2ogpte_model_demo))
766
+
500
767
  # process the header parameters
501
768
  # process the form parameters
502
769
  # process the body parameter