answerrocket-client 0.2.103__tar.gz → 0.2.105__tar.gz

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 (30) hide show
  1. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/PKG-INFO +1 -1
  2. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/__init__.py +1 -1
  3. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/client.py +0 -1
  4. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/data.py +89 -2
  5. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/graphql/schema.py +58 -12
  6. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/graphql/sdk_operations.py +30 -0
  7. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answerrocket_client.egg-info/PKG-INFO +1 -1
  8. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/auth.py +0 -0
  9. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/chat.py +0 -0
  10. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/client_config.py +0 -0
  11. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/config.py +0 -0
  12. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/email.py +0 -0
  13. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/error.py +0 -0
  14. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/graphql/__init__.py +0 -0
  15. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/graphql/client.py +0 -0
  16. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/layouts.py +0 -0
  17. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/llm.py +0 -0
  18. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/output.py +0 -0
  19. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/skill.py +0 -0
  20. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/types.py +0 -0
  21. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/util/__init__.py +0 -0
  22. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answer_rocket/util/meta_data_frame.py +0 -0
  23. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answerrocket_client.egg-info/SOURCES.txt +0 -0
  24. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answerrocket_client.egg-info/dependency_links.txt +0 -0
  25. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answerrocket_client.egg-info/requires.txt +0 -0
  26. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/answerrocket_client.egg-info/top_level.txt +0 -0
  27. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/pyproject.toml +0 -0
  28. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/readme.md +0 -0
  29. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/setup.cfg +0 -0
  30. {answerrocket_client-0.2.103 → answerrocket_client-0.2.105}/test/test_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: answerrocket-client
3
- Version: 0.2.103
3
+ Version: 0.2.105
4
4
  Summary: Python client for interacting with AnswerRocket's skill API
5
5
  Requires-Python: >=3.10.7
6
6
  Description-Content-Type: text/markdown
@@ -5,7 +5,7 @@ __all__ = [
5
5
  'MetaDataFrame'
6
6
  ]
7
7
 
8
- __version__ = "0.2.103"
8
+ __version__ = "0.2.105"
9
9
 
10
10
  from answer_rocket.client import AnswerRocketClient
11
11
  from answer_rocket.error import AnswerRocketClientError
@@ -11,7 +11,6 @@ from answer_rocket.llm import Llm
11
11
  from answer_rocket.layouts import DynamicLayouts
12
12
  from answer_rocket.email import Email
13
13
 
14
-
15
14
  class AnswerRocketClient:
16
15
  """
17
16
  Main client for interacting with AnswerRocket services.
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from dataclasses import dataclass, field
4
- from typing import Optional, List, Dict
4
+ from typing import Any, Optional, List, Dict
5
5
  from uuid import UUID
6
6
 
7
7
  import pandas as pd
@@ -19,7 +19,7 @@ from answer_rocket.graphql.schema import UUID as GQL_UUID, GenerateVisualization
19
19
  Metric, Dataset, DatasetDataInterval, Database, DatabaseSearchInput, PagingInput, PagedDatabases, \
20
20
  DatabaseTableSearchInput, PagedDatabaseTables, CreateDatasetFromTableResponse, DatasetSearchInput, PagedDatasets, \
21
21
  DatabaseKShotSearchInput, PagedDatabaseKShots, DatabaseKShot, CreateDatabaseKShotResponse, \
22
- DatasetKShotSearchInput, PagedDatasetKShots, DatasetKShot, CreateDatasetKShotResponse
22
+ DatasetKShotSearchInput, PagedDatasetKShots, DatasetKShot, CreateDatasetKShotResponse, TrackedDimensionAttribute, TrackedDimensionValuesPage
23
23
  from answer_rocket.graphql.sdk_operations import Operations
24
24
  from answer_rocket.types import MaxResult, RESULT_EXCEPTION_CODE
25
25
 
@@ -2447,3 +2447,90 @@ class Data:
2447
2447
  result = self._gql_client.submit(op, mutation_args)
2448
2448
 
2449
2449
  return result.update_dataset_kshot_visualization
2450
+
2451
+ def get_tracked_dimension_values(
2452
+ self, dataset_id: UUID
2453
+ ) -> List[TrackedDimensionAttribute]:
2454
+ """
2455
+ Get currently-active starred values for the calling user on a dataset,
2456
+ grouped by dimension.
2457
+
2458
+ Parameters
2459
+ ----------
2460
+ dataset_id : UUID
2461
+ Dataset the starred values belong to.
2462
+
2463
+ Returns
2464
+ -------
2465
+ List[TrackedDimensionAttribute]
2466
+ One entry per dimension the caller has stars in. Each entry exposes
2467
+ ``dimension_attribute_id``, ``dimension_name``, and ``values``
2468
+ (currently-active starred values for that dimension).
2469
+
2470
+ Examples
2471
+ --------
2472
+ >>> attrs = max.tracked_values.get_tracked_dimension_values(
2473
+ ... dataset_id=uuid.UUID("...")
2474
+ ... )
2475
+ >>> for attr in attrs:
2476
+ ... print(attr.dimension_name, attr.values)
2477
+ """
2478
+ query_args = {"datasetId": str(dataset_id)}
2479
+ op = Operations.query.get_tracked_dimension_values
2480
+ result = self._gql_client.submit(op, query_args)
2481
+ return result.get_tracked_dimension_values
2482
+
2483
+ def get_all_tracked_dimension_values(
2484
+ self,
2485
+ offset: int = 0,
2486
+ limit: int = 100,
2487
+ dataset_id: Optional[UUID] = None,
2488
+ filters: Optional[dict] = None,
2489
+ sort: Optional[list] = None,
2490
+ ) -> TrackedDimensionValuesPage:
2491
+ """
2492
+ Get a flat, paginated view of tracked values. Admins see every user's
2493
+ rows; non-admins see only their own.
2494
+
2495
+ Parameters
2496
+ ----------
2497
+ offset : int, default 0
2498
+ Zero-based offset for paging.
2499
+ limit : int, default 100
2500
+ Max rows to return.
2501
+ dataset_id : UUID, optional
2502
+ If provided, scope results to a single dataset.
2503
+ filters : dict, optional
2504
+ AG-Grid filterModel JSON (per-column filters). Keys are column ids
2505
+ (e.g. ``"userName"``, ``"value"``, ``"addedUtc"``); values follow
2506
+ AG-Grid's text/set/date filter shapes.
2507
+ sort : list, optional
2508
+ AG-Grid sortModel JSON (list of ``{"colId": ..., "sort": "asc" |
2509
+ "desc", "sortIndex": ...}`` entries).
2510
+
2511
+ Returns
2512
+ -------
2513
+ TrackedDimensionValuesPage
2514
+ Object with ``total_count`` (count after filters but before paging)
2515
+ and ``rows`` (the requested page of joined user/dataset rows).
2516
+
2517
+ Examples
2518
+ --------
2519
+ >>> page = max.tracked_values.get_all_tracked_dimension_values(
2520
+ ... dataset_id=uuid.UUID("..."),
2521
+ ... limit=500,
2522
+ ... )
2523
+ >>> print(page.total_count)
2524
+ >>> for row in page.rows:
2525
+ ... print(row.user_name, row.dimension_name, row.value)
2526
+ """
2527
+ query_args: dict[str, Any] = {
2528
+ "offset": offset,
2529
+ "limit": limit,
2530
+ "datasetId": str(dataset_id) if dataset_id is not None else None,
2531
+ "filters": filters,
2532
+ "sort": sort,
2533
+ }
2534
+ op = Operations.query.get_all_tracked_dimension_values
2535
+ result = self._gql_client.submit(op, query_args)
2536
+ return result.get_all_tracked_dimension_values
@@ -240,12 +240,13 @@ class PagingInput(sgqlc.types.Input):
240
240
  ########################################################################
241
241
  class DomainArtifact(sgqlc.types.Interface):
242
242
  __schema__ = schema
243
- __field_names__ = ('id', 'name', 'description', 'output_label', 'is_active', 'misc_info')
243
+ __field_names__ = ('id', 'name', 'description', 'output_label', 'is_active', 'hide_from_user', 'misc_info')
244
244
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
245
245
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
246
246
  description = sgqlc.types.Field(String, graphql_name='description')
247
247
  output_label = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='outputLabel')
248
248
  is_active = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isActive')
249
+ hide_from_user = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hideFromUser')
249
250
  misc_info = sgqlc.types.Field(String, graphql_name='miscInfo')
250
251
 
251
252
 
@@ -1695,7 +1696,7 @@ class ParameterDefinition(sgqlc.types.Type):
1695
1696
 
1696
1697
  class Query(sgqlc.types.Type):
1697
1698
  __schema__ = schema
1698
- __field_names__ = ('ping', 'current_user', 'get_copilot_skill_artifact_by_path', 'get_copilots', 'get_copilot_info', 'get_copilot_skill', 'run_copilot_skill', 'get_skill_components', 'get_copilot_hydrated_reports', 'get_async_skill_run_status', 'get_copilot_test_run', 'get_paged_copilot_test_runs', 'get_copilot_question_folders', 'get_max_agent_workflow', 'execute_sql_query', 'execute_rql_query', 'get_databases', 'get_database', 'get_database_tables', 'get_dataset_id', 'get_dataset', 'get_dataset2', 'get_datasets', 'get_domain_object', 'get_domain_object_by_name', 'get_grounded_value', 'get_database_kshots', 'get_database_kshot_by_id', 'get_dataset_kshots', 'get_dataset_kshot_by_id', 'run_max_sql_gen', 'run_sql_ai', 'generate_visualization', 'llmapi_config_for_sdk', 'generate_embeddings', 'get_max_llm_prompt', 'user_chat_threads', 'user_chat_entries', 'chat_thread', 'chat_entry', 'user', 'all_chat_entries', 'skill_memory', 'chat_completion', 'narrative_completion', 'narrative_completion_with_prompt', 'sql_completion', 'research_completion', 'chat_completion_with_prompt', 'research_completion_with_prompt', 'get_chat_artifact', 'get_chat_artifacts', 'get_dynamic_layout')
1699
+ __field_names__ = ('ping', 'current_user', 'get_copilot_skill_artifact_by_path', 'get_copilots', 'get_copilot_info', 'get_copilot_skill', 'run_copilot_skill', 'get_skill_components', 'get_copilot_hydrated_reports', 'get_async_skill_run_status', 'get_copilot_test_run', 'get_paged_copilot_test_runs', 'get_copilot_question_folders', 'get_max_agent_workflow', 'execute_sql_query', 'execute_rql_query', 'get_databases', 'get_database', 'get_database_tables', 'get_dataset_id', 'get_dataset', 'get_dataset2', 'get_datasets', 'get_domain_object', 'get_domain_object_by_name', 'get_grounded_value', 'get_database_kshots', 'get_database_kshot_by_id', 'get_dataset_kshots', 'get_dataset_kshot_by_id', 'run_max_sql_gen', 'run_sql_ai', 'generate_visualization', 'llmapi_config_for_sdk', 'generate_embeddings', 'get_max_llm_prompt', 'user_chat_threads', 'user_chat_entries', 'chat_thread', 'chat_entry', 'user', 'all_chat_entries', 'skill_memory', 'chat_completion', 'narrative_completion', 'narrative_completion_with_prompt', 'sql_completion', 'research_completion', 'chat_completion_with_prompt', 'research_completion_with_prompt', 'get_chat_artifact', 'get_chat_artifacts', 'get_dynamic_layout', 'get_tracked_dimension_values', 'get_all_tracked_dimension_values')
1699
1700
  ping = sgqlc.types.Field(String, graphql_name='ping')
1700
1701
  current_user = sgqlc.types.Field(MaxUser, graphql_name='currentUser')
1701
1702
  get_copilot_skill_artifact_by_path = sgqlc.types.Field(CopilotSkillArtifact, graphql_name='getCopilotSkillArtifactByPath', args=sgqlc.types.ArgDict((
@@ -1976,6 +1977,18 @@ class Query(sgqlc.types.Type):
1976
1977
  ('id', sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name='id', default=None)),
1977
1978
  ))
1978
1979
  )
1980
+ get_tracked_dimension_values = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('TrackedDimensionAttribute'))), graphql_name='getTrackedDimensionValues', args=sgqlc.types.ArgDict((
1981
+ ('dataset_id', sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name='datasetId', default=None)),
1982
+ ))
1983
+ )
1984
+ get_all_tracked_dimension_values = sgqlc.types.Field(sgqlc.types.non_null('TrackedDimensionValuesPage'), graphql_name='getAllTrackedDimensionValues', args=sgqlc.types.ArgDict((
1985
+ ('offset', sgqlc.types.Arg(Int, graphql_name='offset', default=0)),
1986
+ ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)),
1987
+ ('dataset_id', sgqlc.types.Arg(UUID, graphql_name='datasetId', default=None)),
1988
+ ('filters', sgqlc.types.Arg(JSON, graphql_name='filters', default=None)),
1989
+ ('sort', sgqlc.types.Arg(JSON, graphql_name='sort', default=None)),
1990
+ ))
1991
+ )
1979
1992
 
1980
1993
 
1981
1994
  class RunMaxSqlGenResponse(sgqlc.types.Type):
@@ -2053,6 +2066,37 @@ class SkillParameter(sgqlc.types.Type):
2053
2066
  match_values = sgqlc.types.Field(MatchValues, graphql_name='matchValues')
2054
2067
 
2055
2068
 
2069
+ class TrackedDimensionAttribute(sgqlc.types.Type):
2070
+ __schema__ = schema
2071
+ __field_names__ = ('dimension_attribute_id', 'dimension_name', 'values')
2072
+ dimension_attribute_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='dimensionAttributeId')
2073
+ dimension_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='dimensionName')
2074
+ values = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='values')
2075
+
2076
+
2077
+ class TrackedDimensionValueRow(sgqlc.types.Type):
2078
+ __schema__ = schema
2079
+ __field_names__ = ('watch_set_id', 'user_id', 'user_name', 'user_email', 'dataset_id', 'dataset_name', 'dimension_attribute_id', 'dimension_name', 'value', 'added_utc', 'last_modified_utc')
2080
+ watch_set_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='watchSetId')
2081
+ user_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='userId')
2082
+ user_name = sgqlc.types.Field(String, graphql_name='userName')
2083
+ user_email = sgqlc.types.Field(String, graphql_name='userEmail')
2084
+ dataset_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='datasetId')
2085
+ dataset_name = sgqlc.types.Field(String, graphql_name='datasetName')
2086
+ dimension_attribute_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='dimensionAttributeId')
2087
+ dimension_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='dimensionName')
2088
+ value = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='value')
2089
+ added_utc = sgqlc.types.Field(DateTime, graphql_name='addedUtc')
2090
+ last_modified_utc = sgqlc.types.Field(DateTime, graphql_name='lastModifiedUtc')
2091
+
2092
+
2093
+ class TrackedDimensionValuesPage(sgqlc.types.Type):
2094
+ __schema__ = schema
2095
+ __field_names__ = ('rows', 'total_count')
2096
+ rows = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(TrackedDimensionValueRow))), graphql_name='rows')
2097
+ total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='totalCount')
2098
+
2099
+
2056
2100
  class UserGroup(sgqlc.types.Type):
2057
2101
  __schema__ = schema
2058
2102
  __field_names__ = ('user_group_id', 'name')
@@ -2062,25 +2106,27 @@ class UserGroup(sgqlc.types.Type):
2062
2106
 
2063
2107
  class AzureOpenaiCompletionLLMApiConfig(sgqlc.types.Type, LLMApiConfig):
2064
2108
  __schema__ = schema
2065
- __field_names__ = ('api_base_url', 'api_version', 'openai_model_name', 'max_tokens_input', 'max_tokens_content_generation', 'temperature', 'top_p', 'presence_penalty', 'frequency_penalty', 'cost_per_model_input_unit', 'cost_per_model_output_unit')
2109
+ __field_names__ = ('api_base_url', 'api_version', 'openai_model_name', 'max_tokens_input', 'max_tokens_content_generation', 'temperature', 'top_p', 'presence_penalty', 'frequency_penalty', 'cost_per_model_input_unit', 'cost_per_model_output_unit', 'use_apim_auth')
2066
2110
  api_base_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiBaseUrl')
2067
2111
  api_version = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiVersion')
2068
2112
  openai_model_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='openaiModelName')
2069
2113
  max_tokens_input = sgqlc.types.Field(Int, graphql_name='maxTokensInput')
2070
2114
  max_tokens_content_generation = sgqlc.types.Field(Int, graphql_name='maxTokensContentGeneration')
2071
- temperature = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='temperature')
2072
- top_p = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='topP')
2073
- presence_penalty = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='presencePenalty')
2074
- frequency_penalty = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='frequencyPenalty')
2115
+ temperature = sgqlc.types.Field(Float, graphql_name='temperature')
2116
+ top_p = sgqlc.types.Field(Float, graphql_name='topP')
2117
+ presence_penalty = sgqlc.types.Field(Float, graphql_name='presencePenalty')
2118
+ frequency_penalty = sgqlc.types.Field(Float, graphql_name='frequencyPenalty')
2075
2119
  cost_per_model_input_unit = sgqlc.types.Field(Float, graphql_name='costPerModelInputUnit')
2076
2120
  cost_per_model_output_unit = sgqlc.types.Field(Float, graphql_name='costPerModelOutputUnit')
2121
+ use_apim_auth = sgqlc.types.Field(Boolean, graphql_name='useApimAuth')
2077
2122
 
2078
2123
 
2079
2124
  class AzureOpenaiEmbeddingLLMApiConfig(sgqlc.types.Type, LLMApiConfig):
2080
2125
  __schema__ = schema
2081
- __field_names__ = ('api_base_url', 'api_version')
2126
+ __field_names__ = ('api_base_url', 'api_version', 'use_apim_auth')
2082
2127
  api_base_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiBaseUrl')
2083
2128
  api_version = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiVersion')
2129
+ use_apim_auth = sgqlc.types.Field(Boolean, graphql_name='useApimAuth')
2084
2130
 
2085
2131
 
2086
2132
  class Dimension(sgqlc.types.Type, DomainArtifact):
@@ -2180,10 +2226,10 @@ class OpenaiCompletionLLMApiConfig(sgqlc.types.Type, LLMApiConfig):
2180
2226
  __field_names__ = ('organization', 'max_tokens_content_generation', 'temperature', 'top_p', 'presence_penalty', 'frequency_penalty', 'cost_per_model_input_unit', 'cost_per_model_output_unit')
2181
2227
  organization = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='organization')
2182
2228
  max_tokens_content_generation = sgqlc.types.Field(Int, graphql_name='maxTokensContentGeneration')
2183
- temperature = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='temperature')
2184
- top_p = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='topP')
2185
- presence_penalty = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='presencePenalty')
2186
- frequency_penalty = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='frequencyPenalty')
2229
+ temperature = sgqlc.types.Field(Float, graphql_name='temperature')
2230
+ top_p = sgqlc.types.Field(Float, graphql_name='topP')
2231
+ presence_penalty = sgqlc.types.Field(Float, graphql_name='presencePenalty')
2232
+ frequency_penalty = sgqlc.types.Field(Float, graphql_name='frequencyPenalty')
2187
2233
  cost_per_model_input_unit = sgqlc.types.Field(Float, graphql_name='costPerModelInputUnit')
2188
2234
  cost_per_model_output_unit = sgqlc.types.Field(Float, graphql_name='costPerModelOutputUnit')
2189
2235
 
@@ -1247,6 +1247,34 @@ def query_current_user():
1247
1247
  return _op
1248
1248
 
1249
1249
 
1250
+ def query_get_tracked_dimension_values():
1251
+ _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetTrackedDimensionValues', variables=dict(datasetId=sgqlc.types.Arg(sgqlc.types.non_null(_schema.UUID))))
1252
+ _op_get_tracked_dimension_values = _op.get_tracked_dimension_values(dataset_id=sgqlc.types.Variable('datasetId'))
1253
+ _op_get_tracked_dimension_values.dimension_attribute_id()
1254
+ _op_get_tracked_dimension_values.dimension_name()
1255
+ _op_get_tracked_dimension_values.values()
1256
+ return _op
1257
+
1258
+
1259
+ def query_get_all_tracked_dimension_values():
1260
+ _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetAllTrackedDimensionValues', variables=dict(offset=sgqlc.types.Arg(_schema.Int), limit=sgqlc.types.Arg(_schema.Int), datasetId=sgqlc.types.Arg(_schema.UUID), filters=sgqlc.types.Arg(_schema.JSON), sort=sgqlc.types.Arg(_schema.JSON)))
1261
+ _op_get_all_tracked_dimension_values = _op.get_all_tracked_dimension_values(offset=sgqlc.types.Variable('offset'), limit=sgqlc.types.Variable('limit'), dataset_id=sgqlc.types.Variable('datasetId'), filters=sgqlc.types.Variable('filters'), sort=sgqlc.types.Variable('sort'))
1262
+ _op_get_all_tracked_dimension_values.total_count()
1263
+ _op_get_all_tracked_dimension_values_rows = _op_get_all_tracked_dimension_values.rows()
1264
+ _op_get_all_tracked_dimension_values_rows.watch_set_id()
1265
+ _op_get_all_tracked_dimension_values_rows.user_id()
1266
+ _op_get_all_tracked_dimension_values_rows.user_name()
1267
+ _op_get_all_tracked_dimension_values_rows.user_email()
1268
+ _op_get_all_tracked_dimension_values_rows.dataset_id()
1269
+ _op_get_all_tracked_dimension_values_rows.dataset_name()
1270
+ _op_get_all_tracked_dimension_values_rows.dimension_attribute_id()
1271
+ _op_get_all_tracked_dimension_values_rows.dimension_name()
1272
+ _op_get_all_tracked_dimension_values_rows.value()
1273
+ _op_get_all_tracked_dimension_values_rows.added_utc()
1274
+ _op_get_all_tracked_dimension_values_rows.last_modified_utc()
1275
+ return _op
1276
+
1277
+
1250
1278
  class Query:
1251
1279
  all_chat_entries = query_all_chat_entries()
1252
1280
  chat_completion = query_chat_completion()
@@ -1256,6 +1284,7 @@ class Query:
1256
1284
  current_user = query_current_user()
1257
1285
  dataframes_for_entry = query_dataframes_for_entry()
1258
1286
  generate_embeddings = query_generate_embeddings()
1287
+ get_all_tracked_dimension_values = query_get_all_tracked_dimension_values()
1259
1288
  get_async_skill_run_status = query_get_async_skill_run_status()
1260
1289
  get_chat_artifact = query_get_chat_artifact()
1261
1290
  get_chat_artifacts = query_get_chat_artifacts()
@@ -1279,6 +1308,7 @@ class Query:
1279
1308
  get_max_agent_workflow = query_get_max_agent_workflow()
1280
1309
  get_max_llm_prompt = query_get_max_llm_prompt()
1281
1310
  get_paged_copilot_test_runs = query_get_paged_copilot_test_runs()
1311
+ get_tracked_dimension_values = query_get_tracked_dimension_values()
1282
1312
  narrative_completion = query_narrative_completion()
1283
1313
  narrative_completion_with_prompt = query_narrative_completion_with_prompt()
1284
1314
  research_completion = query_research_completion()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: answerrocket-client
3
- Version: 0.2.103
3
+ Version: 0.2.105
4
4
  Summary: Python client for interacting with AnswerRocket's skill API
5
5
  Requires-Python: >=3.10.7
6
6
  Description-Content-Type: text/markdown