c63a5cfe-b235-4fbe-8bbb-82a9e02a482a-python 0.1.0a4__py3-none-any.whl → 0.1.0a5__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.
- {c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a4.dist-info → c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info}/METADATA +63 -38
- c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info/RECORD +230 -0
- {gradientai → do_gradientai}/__init__.py +2 -2
- {gradientai → do_gradientai}/_base_client.py +1 -1
- {gradientai → do_gradientai}/_client.py +73 -71
- {gradientai → do_gradientai}/_response.py +4 -4
- {gradientai → do_gradientai}/_types.py +1 -1
- {gradientai → do_gradientai}/_utils/_logs.py +2 -2
- {gradientai → do_gradientai}/_utils/_resources_proxy.py +4 -4
- do_gradientai/_version.py +4 -0
- {gradientai → do_gradientai}/resources/__init__.py +14 -28
- do_gradientai/resources/agents/__init__.py +145 -0
- {gradientai → do_gradientai}/resources/agents/agents.py +148 -20
- {gradientai/resources/regions → do_gradientai/resources/agents}/evaluation_datasets.py +3 -3
- do_gradientai/resources/agents/evaluation_metrics/__init__.py +33 -0
- do_gradientai/resources/agents/evaluation_metrics/evaluation_metrics.py +177 -0
- do_gradientai/resources/agents/evaluation_metrics/workspaces/__init__.py +33 -0
- do_gradientai/resources/agents/evaluation_metrics/workspaces/agents.py +324 -0
- do_gradientai/resources/agents/evaluation_metrics/workspaces/workspaces.py +654 -0
- {gradientai/resources/regions/evaluation_runs → do_gradientai/resources/agents}/evaluation_runs.py +197 -47
- {gradientai/resources/regions → do_gradientai/resources/agents}/evaluation_test_cases.py +30 -9
- gradientai/resources/agents/child_agents.py → do_gradientai/resources/agents/routes.py +64 -64
- {gradientai → do_gradientai}/resources/chat/completions.py +20 -2
- {gradientai → do_gradientai}/resources/inference/__init__.py +0 -14
- {gradientai → do_gradientai}/resources/inference/inference.py +0 -32
- {gradientai → do_gradientai}/resources/knowledge_bases/__init__.py +14 -0
- {gradientai/resources → do_gradientai/resources/knowledge_bases}/indexing_jobs.py +16 -12
- {gradientai → do_gradientai}/resources/knowledge_bases/knowledge_bases.py +32 -0
- {gradientai/resources/providers → do_gradientai/resources/model_providers}/__init__.py +13 -13
- {gradientai/resources/providers → do_gradientai/resources/model_providers}/anthropic/keys.py +12 -7
- gradientai/resources/providers/providers.py → do_gradientai/resources/model_providers/model_providers.py +31 -31
- {gradientai/resources/providers → do_gradientai/resources/model_providers}/openai/keys.py +12 -7
- {gradientai/resources/inference → do_gradientai/resources}/models.py +7 -7
- do_gradientai/resources/regions.py +195 -0
- {gradientai → do_gradientai}/types/__init__.py +2 -17
- {gradientai → do_gradientai}/types/agent_list_response.py +2 -2
- do_gradientai/types/agents/__init__.py +67 -0
- {gradientai/types → do_gradientai/types/agents}/api_evaluation_metric.py +1 -1
- {gradientai/types/regions/evaluation_runs → do_gradientai/types/agents}/api_evaluation_metric_result.py +1 -1
- gradientai/types/regions/evaluation_runs/api_prompt.py → do_gradientai/types/agents/api_evaluation_prompt.py +3 -3
- {gradientai/types/regions/evaluation_runs → do_gradientai/types/agents}/api_evaluation_run.py +13 -1
- {gradientai/types/regions → do_gradientai/types/agents}/api_evaluation_test_case.py +1 -1
- {gradientai → do_gradientai}/types/agents/api_key_list_response.py +2 -2
- gradientai/types/region_list_evaluation_metrics_response.py → do_gradientai/types/agents/evaluation_metric_list_response.py +3 -3
- do_gradientai/types/agents/evaluation_metrics/__init__.py +14 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_create_params.py +16 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_create_response.py +16 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_delete_response.py +11 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_list_evaluation_test_cases_response.py +12 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_list_response.py +16 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_retrieve_response.py +16 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_update_params.py +18 -0
- do_gradientai/types/agents/evaluation_metrics/workspace_update_response.py +16 -0
- do_gradientai/types/agents/evaluation_metrics/workspaces/__init__.py +8 -0
- do_gradientai/types/agents/evaluation_metrics/workspaces/agent_list_params.py +26 -0
- do_gradientai/types/agents/evaluation_metrics/workspaces/agent_list_response.py +22 -0
- do_gradientai/types/agents/evaluation_metrics/workspaces/agent_move_params.py +16 -0
- do_gradientai/types/agents/evaluation_metrics/workspaces/agent_move_response.py +16 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_run_create_params.py +3 -2
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_run_create_response.py +2 -2
- gradientai/types/regions/evaluation_runs/result_retrieve_response.py → do_gradientai/types/agents/evaluation_run_list_results_response.py +5 -5
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_run_retrieve_response.py +1 -1
- do_gradientai/types/agents/evaluation_run_retrieve_results_response.py +12 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_list_evaluation_runs_response.py +1 -1
- do_gradientai/types/agents/evaluation_test_case_retrieve_params.py +12 -0
- gradientai/types/agents/child_agent_add_params.py → do_gradientai/types/agents/route_add_params.py +2 -2
- gradientai/types/agents/child_agent_add_response.py → do_gradientai/types/agents/route_add_response.py +2 -2
- gradientai/types/agents/child_agent_delete_response.py → do_gradientai/types/agents/route_delete_response.py +2 -2
- gradientai/types/agents/child_agent_update_params.py → do_gradientai/types/agents/route_update_params.py +2 -2
- gradientai/types/agents/child_agent_update_response.py → do_gradientai/types/agents/route_update_response.py +2 -2
- gradientai/types/agents/child_agent_view_response.py → do_gradientai/types/agents/route_view_response.py +2 -2
- {gradientai → do_gradientai}/types/agents/version_list_response.py +2 -2
- {gradientai → do_gradientai}/types/api_knowledge_base.py +1 -1
- {gradientai → do_gradientai}/types/api_workspace.py +1 -1
- {gradientai → do_gradientai}/types/inference/__init__.py +0 -2
- {gradientai → do_gradientai}/types/inference/api_key_list_response.py +2 -2
- {gradientai → do_gradientai}/types/knowledge_base_list_response.py +2 -2
- {gradientai → do_gradientai}/types/knowledge_bases/__init__.py +12 -0
- gradientai/types/indexing_job_retrieve_data_sources_response.py → do_gradientai/types/knowledge_bases/api_indexed_data_source.py +4 -8
- {gradientai/types → do_gradientai/types/knowledge_bases}/api_indexing_job.py +13 -1
- {gradientai → do_gradientai}/types/knowledge_bases/api_knowledge_base_data_source.py +4 -1
- {gradientai → do_gradientai}/types/knowledge_bases/data_source_list_response.py +2 -2
- {gradientai/types → do_gradientai/types/knowledge_bases}/indexing_job_create_response.py +1 -1
- {gradientai/types → do_gradientai/types/knowledge_bases}/indexing_job_list_response.py +3 -3
- do_gradientai/types/knowledge_bases/indexing_job_retrieve_data_sources_response.py +12 -0
- {gradientai/types → do_gradientai/types/knowledge_bases}/indexing_job_retrieve_response.py +1 -1
- {gradientai/types → do_gradientai/types/knowledge_bases}/indexing_job_update_cancel_params.py +1 -1
- {gradientai/types → do_gradientai/types/knowledge_bases}/indexing_job_update_cancel_response.py +1 -1
- {gradientai/types/inference → do_gradientai/types}/model.py +1 -1
- {gradientai/types/inference → do_gradientai/types}/model_list_response.py +1 -1
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_list_agents_response.py +2 -2
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_list_response.py +2 -2
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_list_response.py +2 -2
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_retrieve_agents_response.py +2 -2
- gradientai/_version.py → do_gradientai/types/shared/__init__.py +2 -2
- c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a4.dist-info/RECORD +0 -217
- gradientai/resources/agents/__init__.py +0 -89
- gradientai/resources/models.py +0 -254
- gradientai/resources/regions/__init__.py +0 -61
- gradientai/resources/regions/evaluation_runs/__init__.py +0 -33
- gradientai/resources/regions/evaluation_runs/results.py +0 -264
- gradientai/resources/regions/regions.py +0 -352
- gradientai/types/agents/__init__.py +0 -31
- gradientai/types/api_model.py +0 -32
- gradientai/types/model_list_params.py +0 -42
- gradientai/types/model_list_response.py +0 -18
- gradientai/types/regions/__init__.py +0 -32
- gradientai/types/regions/evaluation_runs/__init__.py +0 -9
- gradientai/types/regions/evaluation_runs/result_retrieve_prompt_response.py +0 -12
- {c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a4.dist-info → c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info}/WHEEL +0 -0
- {c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a4.dist-info → c63a5cfe_b235_4fbe_8bbb_82a9e02a482a_python-0.1.0a5.dist-info}/licenses/LICENSE +0 -0
- {gradientai → do_gradientai}/_compat.py +0 -0
- {gradientai → do_gradientai}/_constants.py +0 -0
- {gradientai → do_gradientai}/_exceptions.py +0 -0
- {gradientai → do_gradientai}/_files.py +0 -0
- {gradientai → do_gradientai}/_models.py +0 -0
- {gradientai → do_gradientai}/_qs.py +0 -0
- {gradientai → do_gradientai}/_resource.py +0 -0
- {gradientai → do_gradientai}/_streaming.py +0 -0
- {gradientai → do_gradientai}/_utils/__init__.py +0 -0
- {gradientai → do_gradientai}/_utils/_proxy.py +0 -0
- {gradientai → do_gradientai}/_utils/_reflection.py +0 -0
- {gradientai → do_gradientai}/_utils/_streams.py +0 -0
- {gradientai → do_gradientai}/_utils/_sync.py +0 -0
- {gradientai → do_gradientai}/_utils/_transform.py +0 -0
- {gradientai → do_gradientai}/_utils/_typing.py +0 -0
- {gradientai → do_gradientai}/_utils/_utils.py +0 -0
- {gradientai → do_gradientai}/lib/.keep +0 -0
- {gradientai → do_gradientai}/py.typed +0 -0
- {gradientai → do_gradientai}/resources/agents/api_keys.py +0 -0
- {gradientai → do_gradientai}/resources/agents/functions.py +0 -0
- {gradientai → do_gradientai}/resources/agents/knowledge_bases.py +0 -0
- {gradientai → do_gradientai}/resources/agents/versions.py +0 -0
- {gradientai → do_gradientai}/resources/chat/__init__.py +0 -0
- {gradientai → do_gradientai}/resources/chat/chat.py +0 -0
- {gradientai → do_gradientai}/resources/inference/api_keys.py +0 -0
- {gradientai → do_gradientai}/resources/knowledge_bases/data_sources.py +0 -0
- {gradientai/resources/providers → do_gradientai/resources/model_providers}/anthropic/__init__.py +0 -0
- {gradientai/resources/providers → do_gradientai/resources/model_providers}/anthropic/anthropic.py +0 -0
- {gradientai/resources/providers → do_gradientai/resources/model_providers}/openai/__init__.py +0 -0
- {gradientai/resources/providers → do_gradientai/resources/model_providers}/openai/openai.py +0 -0
- {gradientai → do_gradientai}/types/agent_create_params.py +0 -0
- {gradientai → do_gradientai}/types/agent_create_response.py +0 -0
- {gradientai → do_gradientai}/types/agent_delete_response.py +0 -0
- {gradientai → do_gradientai}/types/agent_list_params.py +0 -0
- {gradientai → do_gradientai}/types/agent_retrieve_response.py +0 -0
- {gradientai → do_gradientai}/types/agent_update_params.py +0 -0
- {gradientai → do_gradientai}/types/agent_update_response.py +0 -0
- {gradientai → do_gradientai}/types/agent_update_status_params.py +0 -0
- {gradientai → do_gradientai}/types/agent_update_status_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_key_create_params.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_key_create_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_key_delete_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_key_list_params.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_key_regenerate_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_key_update_params.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_key_update_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/api_link_knowledge_base_output.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/api_star_metric.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/api_star_metric_param.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_dataset_create_file_upload_presigned_urls_params.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_dataset_create_file_upload_presigned_urls_response.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_dataset_create_params.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_dataset_create_response.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_create_params.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_create_response.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_list_evaluation_runs_params.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_list_response.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_retrieve_response.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_update_params.py +0 -0
- {gradientai/types/regions → do_gradientai/types/agents}/evaluation_test_case_update_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/function_create_params.py +0 -0
- {gradientai → do_gradientai}/types/agents/function_create_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/function_delete_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/function_update_params.py +0 -0
- {gradientai → do_gradientai}/types/agents/function_update_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/knowledge_base_detach_response.py +0 -0
- {gradientai → do_gradientai}/types/agents/version_list_params.py +0 -0
- {gradientai → do_gradientai}/types/agents/version_update_params.py +0 -0
- {gradientai → do_gradientai}/types/agents/version_update_response.py +0 -0
- {gradientai → do_gradientai}/types/api_agent.py +0 -0
- {gradientai → do_gradientai}/types/api_agent_api_key_info.py +0 -0
- {gradientai → do_gradientai}/types/api_agent_model.py +0 -0
- {gradientai → do_gradientai}/types/api_agreement.py +0 -0
- {gradientai → do_gradientai}/types/api_anthropic_api_key_info.py +0 -0
- {gradientai → do_gradientai}/types/api_deployment_visibility.py +0 -0
- {gradientai → do_gradientai}/types/api_model_version.py +0 -0
- {gradientai → do_gradientai}/types/api_openai_api_key_info.py +0 -0
- {gradientai → do_gradientai}/types/api_retrieval_method.py +0 -0
- {gradientai → do_gradientai}/types/chat/__init__.py +0 -0
- {gradientai → do_gradientai}/types/chat/chat_completion_token_logprob.py +0 -0
- {gradientai → do_gradientai}/types/chat/completion_create_params.py +0 -0
- {gradientai → do_gradientai}/types/chat/completion_create_response.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_key_create_params.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_key_create_response.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_key_delete_response.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_key_list_params.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_key_update_params.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_key_update_regenerate_response.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_key_update_response.py +0 -0
- {gradientai → do_gradientai}/types/inference/api_model_api_key_info.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_base_create_params.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_base_create_response.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_base_delete_response.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_base_list_params.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_base_retrieve_response.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_base_update_params.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_base_update_response.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/api_file_upload_data_source.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/api_file_upload_data_source_param.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/api_spaces_data_source.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/api_spaces_data_source_param.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/api_web_crawler_data_source.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/api_web_crawler_data_source_param.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/aws_data_source_param.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/data_source_create_params.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/data_source_create_response.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/data_source_delete_response.py +0 -0
- {gradientai → do_gradientai}/types/knowledge_bases/data_source_list_params.py +0 -0
- {gradientai/types → do_gradientai/types/knowledge_bases}/indexing_job_create_params.py +0 -0
- {gradientai/types → do_gradientai/types/knowledge_bases}/indexing_job_list_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/__init__.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/__init__.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_create_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_create_response.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_delete_response.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_list_agents_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_list_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_retrieve_response.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_update_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/anthropic/key_update_response.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/__init__.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_create_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_create_response.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_delete_response.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_list_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_retrieve_agents_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_retrieve_response.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_update_params.py +0 -0
- {gradientai/types/providers → do_gradientai/types/model_providers}/openai/key_update_response.py +0 -0
- {gradientai → do_gradientai}/types/region_list_params.py +0 -0
- {gradientai → do_gradientai}/types/region_list_response.py +0 -0
- {gradientai/types/agents → do_gradientai/types/shared}/api_links.py +0 -0
- {gradientai/types/agents → do_gradientai/types/shared}/api_meta.py +0 -0
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
|
-
from
|
5
|
+
from ..._models import BaseModel
|
6
6
|
from .api_evaluation_metric import APIEvaluationMetric
|
7
7
|
|
8
|
-
__all__ = ["
|
8
|
+
__all__ = ["EvaluationMetricListResponse"]
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class EvaluationMetricListResponse(BaseModel):
|
12
12
|
metrics: Optional[List[APIEvaluationMetric]] = None
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from .workspace_create_params import WorkspaceCreateParams as WorkspaceCreateParams
|
6
|
+
from .workspace_list_response import WorkspaceListResponse as WorkspaceListResponse
|
7
|
+
from .workspace_update_params import WorkspaceUpdateParams as WorkspaceUpdateParams
|
8
|
+
from .workspace_create_response import WorkspaceCreateResponse as WorkspaceCreateResponse
|
9
|
+
from .workspace_delete_response import WorkspaceDeleteResponse as WorkspaceDeleteResponse
|
10
|
+
from .workspace_update_response import WorkspaceUpdateResponse as WorkspaceUpdateResponse
|
11
|
+
from .workspace_retrieve_response import WorkspaceRetrieveResponse as WorkspaceRetrieveResponse
|
12
|
+
from .workspace_list_evaluation_test_cases_response import (
|
13
|
+
WorkspaceListEvaluationTestCasesResponse as WorkspaceListEvaluationTestCasesResponse,
|
14
|
+
)
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import List
|
6
|
+
from typing_extensions import TypedDict
|
7
|
+
|
8
|
+
__all__ = ["WorkspaceCreateParams"]
|
9
|
+
|
10
|
+
|
11
|
+
class WorkspaceCreateParams(TypedDict, total=False):
|
12
|
+
agent_uuids: List[str]
|
13
|
+
|
14
|
+
description: str
|
15
|
+
|
16
|
+
name: str
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import Optional
|
6
|
+
|
7
|
+
from ...._models import BaseModel
|
8
|
+
|
9
|
+
__all__ = ["WorkspaceCreateResponse"]
|
10
|
+
|
11
|
+
|
12
|
+
class WorkspaceCreateResponse(BaseModel):
|
13
|
+
workspace: Optional["APIWorkspace"] = None
|
14
|
+
|
15
|
+
|
16
|
+
from ...api_workspace import APIWorkspace
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from typing import Optional
|
4
|
+
|
5
|
+
from ...._models import BaseModel
|
6
|
+
|
7
|
+
__all__ = ["WorkspaceDeleteResponse"]
|
8
|
+
|
9
|
+
|
10
|
+
class WorkspaceDeleteResponse(BaseModel):
|
11
|
+
workspace_uuid: Optional[str] = None
|
do_gradientai/types/agents/evaluation_metrics/workspace_list_evaluation_test_cases_response.py
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from typing import List, Optional
|
4
|
+
|
5
|
+
from ...._models import BaseModel
|
6
|
+
from ..api_evaluation_test_case import APIEvaluationTestCase
|
7
|
+
|
8
|
+
__all__ = ["WorkspaceListEvaluationTestCasesResponse"]
|
9
|
+
|
10
|
+
|
11
|
+
class WorkspaceListEvaluationTestCasesResponse(BaseModel):
|
12
|
+
evaluation_test_cases: Optional[List[APIEvaluationTestCase]] = None
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import List, Optional
|
6
|
+
|
7
|
+
from ...._models import BaseModel
|
8
|
+
|
9
|
+
__all__ = ["WorkspaceListResponse"]
|
10
|
+
|
11
|
+
|
12
|
+
class WorkspaceListResponse(BaseModel):
|
13
|
+
workspaces: Optional[List["APIWorkspace"]] = None
|
14
|
+
|
15
|
+
|
16
|
+
from ...api_workspace import APIWorkspace
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import Optional
|
6
|
+
|
7
|
+
from ...._models import BaseModel
|
8
|
+
|
9
|
+
__all__ = ["WorkspaceRetrieveResponse"]
|
10
|
+
|
11
|
+
|
12
|
+
class WorkspaceRetrieveResponse(BaseModel):
|
13
|
+
workspace: Optional["APIWorkspace"] = None
|
14
|
+
|
15
|
+
|
16
|
+
from ...api_workspace import APIWorkspace
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing_extensions import Annotated, TypedDict
|
6
|
+
|
7
|
+
from ...._utils import PropertyInfo
|
8
|
+
|
9
|
+
__all__ = ["WorkspaceUpdateParams"]
|
10
|
+
|
11
|
+
|
12
|
+
class WorkspaceUpdateParams(TypedDict, total=False):
|
13
|
+
description: str
|
14
|
+
|
15
|
+
name: str
|
16
|
+
|
17
|
+
body_workspace_uuid: Annotated[str, PropertyInfo(alias="workspace_uuid")]
|
18
|
+
"""Workspace UUID."""
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import Optional
|
6
|
+
|
7
|
+
from ...._models import BaseModel
|
8
|
+
|
9
|
+
__all__ = ["WorkspaceUpdateResponse"]
|
10
|
+
|
11
|
+
|
12
|
+
class WorkspaceUpdateResponse(BaseModel):
|
13
|
+
workspace: Optional["APIWorkspace"] = None
|
14
|
+
|
15
|
+
|
16
|
+
from ...api_workspace import APIWorkspace
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from .agent_list_params import AgentListParams as AgentListParams
|
6
|
+
from .agent_move_params import AgentMoveParams as AgentMoveParams
|
7
|
+
from .agent_list_response import AgentListResponse as AgentListResponse
|
8
|
+
from .agent_move_response import AgentMoveResponse as AgentMoveResponse
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import List
|
6
|
+
from typing_extensions import TypedDict
|
7
|
+
|
8
|
+
__all__ = ["AgentListParams", "FieldMask"]
|
9
|
+
|
10
|
+
|
11
|
+
class AgentListParams(TypedDict, total=False):
|
12
|
+
field_mask: FieldMask
|
13
|
+
|
14
|
+
only_deployed: bool
|
15
|
+
"""Only list agents that are deployed."""
|
16
|
+
|
17
|
+
page: int
|
18
|
+
"""page number."""
|
19
|
+
|
20
|
+
per_page: int
|
21
|
+
"""items per page."""
|
22
|
+
|
23
|
+
|
24
|
+
class FieldMask(TypedDict, total=False):
|
25
|
+
paths: List[str]
|
26
|
+
"""The set of field mask paths."""
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import List, Optional
|
6
|
+
|
7
|
+
from ....._models import BaseModel
|
8
|
+
from ....shared.api_meta import APIMeta
|
9
|
+
from ....shared.api_links import APILinks
|
10
|
+
|
11
|
+
__all__ = ["AgentListResponse"]
|
12
|
+
|
13
|
+
|
14
|
+
class AgentListResponse(BaseModel):
|
15
|
+
agents: Optional[List["APIAgent"]] = None
|
16
|
+
|
17
|
+
links: Optional[APILinks] = None
|
18
|
+
|
19
|
+
meta: Optional[APIMeta] = None
|
20
|
+
|
21
|
+
|
22
|
+
from ....api_agent import APIAgent
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import List
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
7
|
+
|
8
|
+
from ....._utils import PropertyInfo
|
9
|
+
|
10
|
+
__all__ = ["AgentMoveParams"]
|
11
|
+
|
12
|
+
|
13
|
+
class AgentMoveParams(TypedDict, total=False):
|
14
|
+
agent_uuids: List[str]
|
15
|
+
|
16
|
+
body_workspace_uuid: Annotated[str, PropertyInfo(alias="workspace_uuid")]
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import Optional
|
6
|
+
|
7
|
+
from ....._models import BaseModel
|
8
|
+
|
9
|
+
__all__ = ["AgentMoveResponse"]
|
10
|
+
|
11
|
+
|
12
|
+
class AgentMoveResponse(BaseModel):
|
13
|
+
workspace: Optional["APIWorkspace"] = None
|
14
|
+
|
15
|
+
|
16
|
+
from ....api_workspace import APIWorkspace
|
@@ -2,14 +2,15 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
+
from typing import List
|
5
6
|
from typing_extensions import TypedDict
|
6
7
|
|
7
8
|
__all__ = ["EvaluationRunCreateParams"]
|
8
9
|
|
9
10
|
|
10
11
|
class EvaluationRunCreateParams(TypedDict, total=False):
|
11
|
-
|
12
|
-
"""Agent
|
12
|
+
agent_uuids: List[str]
|
13
|
+
"""Agent UUIDs to run the test case against."""
|
13
14
|
|
14
15
|
run_name: str
|
15
16
|
"""The name of the run."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
2
|
|
3
|
-
from typing import Optional
|
3
|
+
from typing import List, Optional
|
4
4
|
|
5
5
|
from ..._models import BaseModel
|
6
6
|
|
@@ -8,4 +8,4 @@ __all__ = ["EvaluationRunCreateResponse"]
|
|
8
8
|
|
9
9
|
|
10
10
|
class EvaluationRunCreateResponse(BaseModel):
|
11
|
-
|
11
|
+
evaluation_run_uuids: Optional[List[str]] = None
|
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
|
-
from
|
6
|
-
from .api_prompt import APIPrompt
|
5
|
+
from ..._models import BaseModel
|
7
6
|
from .api_evaluation_run import APIEvaluationRun
|
7
|
+
from .api_evaluation_prompt import APIEvaluationPrompt
|
8
8
|
|
9
|
-
__all__ = ["
|
9
|
+
__all__ = ["EvaluationRunListResultsResponse"]
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class EvaluationRunListResultsResponse(BaseModel):
|
13
13
|
evaluation_run: Optional[APIEvaluationRun] = None
|
14
14
|
|
15
|
-
prompts: Optional[List[
|
15
|
+
prompts: Optional[List[APIEvaluationPrompt]] = None
|
16
16
|
"""The prompt level results."""
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from typing import Optional
|
4
|
+
|
5
|
+
from ..._models import BaseModel
|
6
|
+
from .api_evaluation_prompt import APIEvaluationPrompt
|
7
|
+
|
8
|
+
__all__ = ["EvaluationRunRetrieveResultsResponse"]
|
9
|
+
|
10
|
+
|
11
|
+
class EvaluationRunRetrieveResultsResponse(BaseModel):
|
12
|
+
prompt: Optional[APIEvaluationPrompt] = None
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing_extensions import TypedDict
|
6
|
+
|
7
|
+
__all__ = ["EvaluationTestCaseRetrieveParams"]
|
8
|
+
|
9
|
+
|
10
|
+
class EvaluationTestCaseRetrieveParams(TypedDict, total=False):
|
11
|
+
evaluation_test_case_version: int
|
12
|
+
"""Version of the test case."""
|
gradientai/types/agents/child_agent_add_params.py → do_gradientai/types/agents/route_add_params.py
RENAMED
@@ -6,10 +6,10 @@ from typing_extensions import Required, Annotated, TypedDict
|
|
6
6
|
|
7
7
|
from ..._utils import PropertyInfo
|
8
8
|
|
9
|
-
__all__ = ["
|
9
|
+
__all__ = ["RouteAddParams"]
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class RouteAddParams(TypedDict, total=False):
|
13
13
|
path_parent_agent_uuid: Required[Annotated[str, PropertyInfo(alias="parent_agent_uuid")]]
|
14
14
|
|
15
15
|
body_child_agent_uuid: Annotated[str, PropertyInfo(alias="child_agent_uuid")]
|
@@ -4,10 +4,10 @@ from typing import Optional
|
|
4
4
|
|
5
5
|
from ..._models import BaseModel
|
6
6
|
|
7
|
-
__all__ = ["
|
7
|
+
__all__ = ["RouteAddResponse"]
|
8
8
|
|
9
9
|
|
10
|
-
class
|
10
|
+
class RouteAddResponse(BaseModel):
|
11
11
|
child_agent_uuid: Optional[str] = None
|
12
12
|
|
13
13
|
parent_agent_uuid: Optional[str] = None
|
@@ -4,10 +4,10 @@ from typing import Optional
|
|
4
4
|
|
5
5
|
from ..._models import BaseModel
|
6
6
|
|
7
|
-
__all__ = ["
|
7
|
+
__all__ = ["RouteDeleteResponse"]
|
8
8
|
|
9
9
|
|
10
|
-
class
|
10
|
+
class RouteDeleteResponse(BaseModel):
|
11
11
|
child_agent_uuid: Optional[str] = None
|
12
12
|
|
13
13
|
parent_agent_uuid: Optional[str] = None
|
@@ -6,10 +6,10 @@ from typing_extensions import Required, Annotated, TypedDict
|
|
6
6
|
|
7
7
|
from ..._utils import PropertyInfo
|
8
8
|
|
9
|
-
__all__ = ["
|
9
|
+
__all__ = ["RouteUpdateParams"]
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class RouteUpdateParams(TypedDict, total=False):
|
13
13
|
path_parent_agent_uuid: Required[Annotated[str, PropertyInfo(alias="parent_agent_uuid")]]
|
14
14
|
|
15
15
|
body_child_agent_uuid: Annotated[str, PropertyInfo(alias="child_agent_uuid")]
|
@@ -4,10 +4,10 @@ from typing import Optional
|
|
4
4
|
|
5
5
|
from ..._models import BaseModel
|
6
6
|
|
7
|
-
__all__ = ["
|
7
|
+
__all__ = ["RouteUpdateResponse"]
|
8
8
|
|
9
9
|
|
10
|
-
class
|
10
|
+
class RouteUpdateResponse(BaseModel):
|
11
11
|
child_agent_uuid: Optional[str] = None
|
12
12
|
|
13
13
|
parent_agent_uuid: Optional[str] = None
|
@@ -6,10 +6,10 @@ from typing import List, Optional
|
|
6
6
|
|
7
7
|
from ..._models import BaseModel
|
8
8
|
|
9
|
-
__all__ = ["
|
9
|
+
__all__ = ["RouteViewResponse"]
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class RouteViewResponse(BaseModel):
|
13
13
|
children: Optional[List["APIAgent"]] = None
|
14
14
|
|
15
15
|
|
@@ -5,9 +5,9 @@ from datetime import datetime
|
|
5
5
|
|
6
6
|
from pydantic import Field as FieldInfo
|
7
7
|
|
8
|
-
from .api_meta import APIMeta
|
9
8
|
from ..._models import BaseModel
|
10
|
-
from .
|
9
|
+
from ..shared.api_meta import APIMeta
|
10
|
+
from ..shared.api_links import APILinks
|
11
11
|
from ..api_retrieval_method import APIRetrievalMethod
|
12
12
|
|
13
13
|
__all__ = [
|
@@ -6,7 +6,7 @@ from typing import List, Optional
|
|
6
6
|
from datetime import datetime
|
7
7
|
|
8
8
|
from .._models import BaseModel
|
9
|
-
from .
|
9
|
+
from .agents.api_evaluation_test_case import APIEvaluationTestCase
|
10
10
|
|
11
11
|
__all__ = ["APIWorkspace"]
|
12
12
|
|
@@ -2,9 +2,7 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
-
from .model import Model as Model
|
6
5
|
from .api_key_list_params import APIKeyListParams as APIKeyListParams
|
7
|
-
from .model_list_response import ModelListResponse as ModelListResponse
|
8
6
|
from .api_key_create_params import APIKeyCreateParams as APIKeyCreateParams
|
9
7
|
from .api_key_list_response import APIKeyListResponse as APIKeyListResponse
|
10
8
|
from .api_key_update_params import APIKeyUpdateParams as APIKeyUpdateParams
|
@@ -3,8 +3,8 @@
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
5
|
from ..._models import BaseModel
|
6
|
-
from ..
|
7
|
-
from ..
|
6
|
+
from ..shared.api_meta import APIMeta
|
7
|
+
from ..shared.api_links import APILinks
|
8
8
|
from .api_model_api_key_info import APIModelAPIKeyInfo
|
9
9
|
|
10
10
|
__all__ = ["APIKeyListResponse"]
|
@@ -3,8 +3,8 @@
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
5
|
from .._models import BaseModel
|
6
|
-
from .
|
7
|
-
from .
|
6
|
+
from .shared.api_meta import APIMeta
|
7
|
+
from .shared.api_links import APILinks
|
8
8
|
from .api_knowledge_base import APIKnowledgeBase
|
9
9
|
|
10
10
|
__all__ = ["KnowledgeBaseListResponse"]
|
@@ -2,16 +2,28 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
+
from .api_indexing_job import APIIndexingJob as APIIndexingJob
|
5
6
|
from .aws_data_source_param import AwsDataSourceParam as AwsDataSourceParam
|
6
7
|
from .api_spaces_data_source import APISpacesDataSource as APISpacesDataSource
|
8
|
+
from .api_indexed_data_source import APIIndexedDataSource as APIIndexedDataSource
|
7
9
|
from .data_source_list_params import DataSourceListParams as DataSourceListParams
|
10
|
+
from .indexing_job_list_params import IndexingJobListParams as IndexingJobListParams
|
8
11
|
from .data_source_create_params import DataSourceCreateParams as DataSourceCreateParams
|
9
12
|
from .data_source_list_response import DataSourceListResponse as DataSourceListResponse
|
13
|
+
from .indexing_job_create_params import IndexingJobCreateParams as IndexingJobCreateParams
|
14
|
+
from .indexing_job_list_response import IndexingJobListResponse as IndexingJobListResponse
|
10
15
|
from .api_file_upload_data_source import APIFileUploadDataSource as APIFileUploadDataSource
|
11
16
|
from .api_web_crawler_data_source import APIWebCrawlerDataSource as APIWebCrawlerDataSource
|
12
17
|
from .data_source_create_response import DataSourceCreateResponse as DataSourceCreateResponse
|
13
18
|
from .data_source_delete_response import DataSourceDeleteResponse as DataSourceDeleteResponse
|
14
19
|
from .api_spaces_data_source_param import APISpacesDataSourceParam as APISpacesDataSourceParam
|
20
|
+
from .indexing_job_create_response import IndexingJobCreateResponse as IndexingJobCreateResponse
|
15
21
|
from .api_knowledge_base_data_source import APIKnowledgeBaseDataSource as APIKnowledgeBaseDataSource
|
22
|
+
from .indexing_job_retrieve_response import IndexingJobRetrieveResponse as IndexingJobRetrieveResponse
|
16
23
|
from .api_file_upload_data_source_param import APIFileUploadDataSourceParam as APIFileUploadDataSourceParam
|
17
24
|
from .api_web_crawler_data_source_param import APIWebCrawlerDataSourceParam as APIWebCrawlerDataSourceParam
|
25
|
+
from .indexing_job_update_cancel_params import IndexingJobUpdateCancelParams as IndexingJobUpdateCancelParams
|
26
|
+
from .indexing_job_update_cancel_response import IndexingJobUpdateCancelResponse as IndexingJobUpdateCancelResponse
|
27
|
+
from .indexing_job_retrieve_data_sources_response import (
|
28
|
+
IndexingJobRetrieveDataSourcesResponse as IndexingJobRetrieveDataSourcesResponse,
|
29
|
+
)
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
2
|
|
3
|
-
from typing import
|
3
|
+
from typing import Optional
|
4
4
|
from datetime import datetime
|
5
5
|
from typing_extensions import Literal
|
6
6
|
|
7
|
-
from
|
7
|
+
from ..._models import BaseModel
|
8
8
|
|
9
|
-
__all__ = ["
|
9
|
+
__all__ = ["APIIndexedDataSource"]
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class APIIndexedDataSource(BaseModel):
|
13
13
|
completed_at: Optional[datetime] = None
|
14
14
|
|
15
15
|
data_source_uuid: Optional[str] = None
|
@@ -46,7 +46,3 @@ class IndexedDataSource(BaseModel):
|
|
46
46
|
total_bytes_indexed: Optional[str] = None
|
47
47
|
|
48
48
|
total_file_count: Optional[str] = None
|
49
|
-
|
50
|
-
|
51
|
-
class IndexingJobRetrieveDataSourcesResponse(BaseModel):
|
52
|
-
indexed_data_sources: Optional[List[IndexedDataSource]] = None
|
@@ -4,7 +4,7 @@ from typing import List, Optional
|
|
4
4
|
from datetime import datetime
|
5
5
|
from typing_extensions import Literal
|
6
6
|
|
7
|
-
from
|
7
|
+
from ..._models import BaseModel
|
8
8
|
|
9
9
|
__all__ = ["APIIndexingJob"]
|
10
10
|
|
@@ -34,6 +34,18 @@ class APIIndexingJob(BaseModel):
|
|
34
34
|
|
35
35
|
started_at: Optional[datetime] = None
|
36
36
|
|
37
|
+
status: Optional[
|
38
|
+
Literal[
|
39
|
+
"INDEX_JOB_STATUS_UNKNOWN",
|
40
|
+
"INDEX_JOB_STATUS_PARTIAL",
|
41
|
+
"INDEX_JOB_STATUS_IN_PROGRESS",
|
42
|
+
"INDEX_JOB_STATUS_COMPLETED",
|
43
|
+
"INDEX_JOB_STATUS_FAILED",
|
44
|
+
"INDEX_JOB_STATUS_NO_CHANGES",
|
45
|
+
"INDEX_JOB_STATUS_PENDING",
|
46
|
+
]
|
47
|
+
] = None
|
48
|
+
|
37
49
|
tokens: Optional[int] = None
|
38
50
|
|
39
51
|
total_datasources: Optional[int] = None
|
@@ -4,8 +4,9 @@ from typing import Optional
|
|
4
4
|
from datetime import datetime
|
5
5
|
|
6
6
|
from ..._models import BaseModel
|
7
|
-
from
|
7
|
+
from .api_indexing_job import APIIndexingJob
|
8
8
|
from .api_spaces_data_source import APISpacesDataSource
|
9
|
+
from .api_indexed_data_source import APIIndexedDataSource
|
9
10
|
from .api_file_upload_data_source import APIFileUploadDataSource
|
10
11
|
from .api_web_crawler_data_source import APIWebCrawlerDataSource
|
11
12
|
|
@@ -32,6 +33,8 @@ class APIKnowledgeBaseDataSource(BaseModel):
|
|
32
33
|
|
33
34
|
item_path: Optional[str] = None
|
34
35
|
|
36
|
+
last_datasource_indexing_job: Optional[APIIndexedDataSource] = None
|
37
|
+
|
35
38
|
last_indexing_job: Optional[APIIndexingJob] = None
|
36
39
|
|
37
40
|
region: Optional[str] = None
|
@@ -3,8 +3,8 @@
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
5
|
from ..._models import BaseModel
|
6
|
-
from ..
|
7
|
-
from ..
|
6
|
+
from ..shared.api_meta import APIMeta
|
7
|
+
from ..shared.api_links import APILinks
|
8
8
|
from .api_knowledge_base_data_source import APIKnowledgeBaseDataSource
|
9
9
|
|
10
10
|
__all__ = ["DataSourceListResponse"]
|