Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
439 changes: 439 additions & 0 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions docs/datadog_api_client.v2.model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18855,6 +18855,41 @@ datadog\_api\_client.v2.model.llm\_obs\_dataset\_data\_response module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_data module
--------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_data
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_data\_attributes module
--------------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_data_attributes
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_response module
------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_response
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_type module
--------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_type
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_user module
--------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_user
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_record\_data\_response module
------------------------------------------------------------------------------

Expand Down Expand Up @@ -18981,6 +19016,34 @@ datadog\_api\_client.v2.model.llm\_obs\_dataset\_update\_request module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_version\_data module
---------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_version_data
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_version\_data\_attributes module
---------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_version_data_attributes
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_version\_type module
---------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_version_type
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_dataset\_versions\_response module
--------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_versions_response
:members:
:show-inheritance:

datadog\_api\_client.v2.model.llm\_obs\_datasets\_response module
-----------------------------------------------------------------

Expand Down
17 changes: 17 additions & 0 deletions examples/v2/llm-observability/GetLLMObsDatasetDraftState.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
Get LLM Observability dataset draft state returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi

configuration = Configuration()
configuration.unstable_operations["get_llm_obs_dataset_draft_state"] = True
with ApiClient(configuration) as api_client:
api_instance = LLMObservabilityApi(api_client)
response = api_instance.get_llm_obs_dataset_draft_state(
project_id="project_id",
dataset_id="dataset_id",
)

print(response)
17 changes: 17 additions & 0 deletions examples/v2/llm-observability/ListLLMObsDatasetVersions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
List LLM Observability dataset versions returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi

configuration = Configuration()
configuration.unstable_operations["list_llm_obs_dataset_versions"] = True
with ApiClient(configuration) as api_client:
api_instance = LLMObservabilityApi(api_client)
response = api_instance.list_llm_obs_dataset_versions(
project_id="project_id",
dataset_id="dataset_id",
)

print(response)
17 changes: 17 additions & 0 deletions examples/v2/llm-observability/LockLLMObsDatasetDraftState.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
Lock LLM Observability dataset draft state returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi

configuration = Configuration()
configuration.unstable_operations["lock_llm_obs_dataset_draft_state"] = True
with ApiClient(configuration) as api_client:
api_instance = LLMObservabilityApi(api_client)
response = api_instance.lock_llm_obs_dataset_draft_state(
project_id="project_id",
dataset_id="dataset_id",
)

print(response)
15 changes: 15 additions & 0 deletions examples/v2/llm-observability/UnlockLLMObsDatasetDraftState.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""
Unlock LLM Observability dataset draft state returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi

configuration = Configuration()
configuration.unstable_operations["unlock_llm_obs_dataset_draft_state"] = True
with ApiClient(configuration) as api_client:
api_instance = LLMObservabilityApi(api_client)
api_instance.unlock_llm_obs_dataset_draft_state(
project_id="project_id",
dataset_id="dataset_id",
)
4 changes: 4 additions & 0 deletions src/datadog_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,22 @@ def __init__(
"v2.get_llm_obs_annotated_interactions_by_trace_i_ds": False,
"v2.get_llm_obs_annotation_queue_label_schema": False,
"v2.get_llm_obs_custom_eval_config": False,
"v2.get_llm_obs_dataset_draft_state": False,
"v2.list_llm_obs_annotation_queues": False,
"v2.list_llm_obs_dataset_records": False,
"v2.list_llm_obs_datasets": False,
"v2.list_llm_obs_dataset_versions": False,
"v2.list_llm_obs_experiment_events": False,
"v2.list_llm_obs_experiments": False,
"v2.list_llm_obs_integration_accounts": False,
"v2.list_llm_obs_integration_models": False,
"v2.list_llm_obs_projects": False,
"v2.list_llm_obs_spans": False,
"v2.lock_llm_obs_dataset_draft_state": False,
"v2.search_llm_obs_experimentation": False,
"v2.search_llm_obs_spans": False,
"v2.simple_search_llm_obs_experimentation": False,
"v2.unlock_llm_obs_dataset_draft_state": False,
"v2.update_llm_obs_annotation_queue": False,
"v2.update_llm_obs_annotation_queue_label_schema": False,
"v2.update_llm_obs_custom_eval_config": False,
Expand Down
Loading
Loading