Skip to content
Open
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
10 changes: 8 additions & 2 deletions gooddata-api-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -1193,8 +1193,9 @@ docs/TabularExportRequest.md
docs/TestConnectionApi.md
docs/TestDefinitionRequest.md
docs/TestDestinationRequest.md
docs/TestLlmProviderByIdRequest.md
docs/TestLlmProviderByIdRequestProviderConfig.md
docs/TestLlmProviderDefinitionRequest.md
docs/TestLlmProviderDefinitionRequestProviderConfig.md
docs/TestLlmProviderResponse.md
docs/TestNotification.md
docs/TestNotificationAllOf.md
Expand All @@ -1207,6 +1208,8 @@ docs/TotalDimension.md
docs/TotalExecutionResultHeader.md
docs/TotalResultHeader.md
docs/TranslationsApi.md
docs/TrendingObjectItem.md
docs/TrendingObjectsResult.md
docs/TriggerAutomationRequest.md
docs/TriggerQualityIssuesCalculationResponse.md
docs/UpsertKnowledgeDocumentRequestDto.md
Expand Down Expand Up @@ -2487,8 +2490,9 @@ gooddata_api_client/model/table_warning.py
gooddata_api_client/model/tabular_export_request.py
gooddata_api_client/model/test_definition_request.py
gooddata_api_client/model/test_destination_request.py
gooddata_api_client/model/test_llm_provider_by_id_request.py
gooddata_api_client/model/test_llm_provider_by_id_request_provider_config.py
gooddata_api_client/model/test_llm_provider_definition_request.py
gooddata_api_client/model/test_llm_provider_definition_request_provider_config.py
gooddata_api_client/model/test_llm_provider_response.py
gooddata_api_client/model/test_notification.py
gooddata_api_client/model/test_notification_all_of.py
Expand All @@ -2500,6 +2504,8 @@ gooddata_api_client/model/total.py
gooddata_api_client/model/total_dimension.py
gooddata_api_client/model/total_execution_result_header.py
gooddata_api_client/model/total_result_header.py
gooddata_api_client/model/trending_object_item.py
gooddata_api_client/model/trending_objects_result.py
gooddata_api_client/model/trigger_automation_request.py
gooddata_api_client/model/trigger_quality_issues_calculation_response.py
gooddata_api_client/model/upsert_knowledge_document_request_dto.py
Expand Down
7 changes: 6 additions & 1 deletion gooddata-api-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ Class | Method | HTTP request | Description
*SmartFunctionsApi* | [**tags**](docs/SmartFunctionsApi.md#tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/tags | Get Analytics Catalog Tags
*SmartFunctionsApi* | [**test_llm_provider**](docs/SmartFunctionsApi.md#test_llm_provider) | **POST** /api/v1/actions/ai/llmProvider/test | Test LLM Provider
*SmartFunctionsApi* | [**test_llm_provider_by_id**](docs/SmartFunctionsApi.md#test_llm_provider_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/test | Test LLM Provider By Id
*SmartFunctionsApi* | [**trending_objects**](docs/SmartFunctionsApi.md#trending_objects) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects | Get Trending Analytics Catalog Objects
*SmartFunctionsApi* | [**trigger_quality_issues_calculation**](docs/SmartFunctionsApi.md#trigger_quality_issues_calculation) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck | Trigger Quality Issues Calculation
*SmartFunctionsApi* | [**validate_llm_endpoint**](docs/SmartFunctionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint
*SmartFunctionsApi* | [**validate_llm_endpoint_by_id**](docs/SmartFunctionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id
Expand Down Expand Up @@ -618,6 +619,7 @@ Class | Method | HTTP request | Description
*ActionsApi* | [**test_llm_provider**](docs/ActionsApi.md#test_llm_provider) | **POST** /api/v1/actions/ai/llmProvider/test | Test LLM Provider
*ActionsApi* | [**test_llm_provider_by_id**](docs/ActionsApi.md#test_llm_provider_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/test | Test LLM Provider By Id
*ActionsApi* | [**test_notification_channel**](docs/ActionsApi.md#test_notification_channel) | **POST** /api/v1/actions/notificationChannels/test | Test notification channel.
*ActionsApi* | [**trending_objects**](docs/ActionsApi.md#trending_objects) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects | Get Trending Analytics Catalog Objects
*ActionsApi* | [**trigger_automation**](docs/ActionsApi.md#trigger_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/trigger | Trigger automation.
*ActionsApi* | [**trigger_existing_automation**](docs/ActionsApi.md#trigger_existing_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/trigger | Trigger existing automation.
*ActionsApi* | [**trigger_quality_issues_calculation**](docs/ActionsApi.md#trigger_quality_issues_calculation) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck | Trigger Quality Issues Calculation
Expand Down Expand Up @@ -2306,8 +2308,9 @@ Class | Method | HTTP request | Description
- [TabularExportRequest](docs/TabularExportRequest.md)
- [TestDefinitionRequest](docs/TestDefinitionRequest.md)
- [TestDestinationRequest](docs/TestDestinationRequest.md)
- [TestLlmProviderByIdRequest](docs/TestLlmProviderByIdRequest.md)
- [TestLlmProviderByIdRequestProviderConfig](docs/TestLlmProviderByIdRequestProviderConfig.md)
- [TestLlmProviderDefinitionRequest](docs/TestLlmProviderDefinitionRequest.md)
- [TestLlmProviderDefinitionRequestProviderConfig](docs/TestLlmProviderDefinitionRequestProviderConfig.md)
- [TestLlmProviderResponse](docs/TestLlmProviderResponse.md)
- [TestNotification](docs/TestNotification.md)
- [TestNotificationAllOf](docs/TestNotificationAllOf.md)
Expand All @@ -2319,6 +2322,8 @@ Class | Method | HTTP request | Description
- [TotalDimension](docs/TotalDimension.md)
- [TotalExecutionResultHeader](docs/TotalExecutionResultHeader.md)
- [TotalResultHeader](docs/TotalResultHeader.md)
- [TrendingObjectItem](docs/TrendingObjectItem.md)
- [TrendingObjectsResult](docs/TrendingObjectsResult.md)
- [TriggerAutomationRequest](docs/TriggerAutomationRequest.md)
- [TriggerQualityIssuesCalculationResponse](docs/TriggerQualityIssuesCalculationResponse.md)
- [UpsertKnowledgeDocumentRequestDto](docs/UpsertKnowledgeDocumentRequestDto.md)
Expand Down
92 changes: 90 additions & 2 deletions gooddata-api-client/docs/ActionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Method | HTTP request | Description
[**test_llm_provider**](ActionsApi.md#test_llm_provider) | **POST** /api/v1/actions/ai/llmProvider/test | Test LLM Provider
[**test_llm_provider_by_id**](ActionsApi.md#test_llm_provider_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/test | Test LLM Provider By Id
[**test_notification_channel**](ActionsApi.md#test_notification_channel) | **POST** /api/v1/actions/notificationChannels/test | Test notification channel.
[**trending_objects**](ActionsApi.md#trending_objects) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects | Get Trending Analytics Catalog Objects
[**trigger_automation**](ActionsApi.md#trigger_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/trigger | Trigger automation.
[**trigger_existing_automation**](ActionsApi.md#trigger_existing_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/trigger | Trigger existing automation.
[**trigger_quality_issues_calculation**](ActionsApi.md#trigger_quality_issues_calculation) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck | Trigger Quality Issues Calculation
Expand Down Expand Up @@ -8113,7 +8114,7 @@ with gooddata_api_client.ApiClient() as api_client:
id="id_example",
),
],
provider_config=TestLlmProviderDefinitionRequestProviderConfig(None),
provider_config=TestLlmProviderByIdRequestProviderConfig(None),
) # TestLlmProviderDefinitionRequest |

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -8169,6 +8170,7 @@ import time
import gooddata_api_client
from gooddata_api_client.api import actions_api
from gooddata_api_client.model.test_llm_provider_response import TestLlmProviderResponse
from gooddata_api_client.model.test_llm_provider_by_id_request import TestLlmProviderByIdRequest
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
Expand All @@ -8182,6 +8184,15 @@ with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = actions_api.ActionsApi(api_client)
llm_provider_id = "llmProviderId_example" # str |
test_llm_provider_by_id_request = TestLlmProviderByIdRequest(
models=[
LlmModel(
family="OPENAI",
id="id_example",
),
],
provider_config=TestLlmProviderByIdRequestProviderConfig(None),
) # TestLlmProviderByIdRequest | (optional)

# example passing only required values which don't have defaults set
try:
Expand All @@ -8190,6 +8201,15 @@ with gooddata_api_client.ApiClient() as api_client:
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling ActionsApi->test_llm_provider_by_id: %s\n" % e)

# example passing only required values which don't have defaults set
# and optional values
try:
# Test LLM Provider By Id
api_response = api_instance.test_llm_provider_by_id(llm_provider_id, test_llm_provider_by_id_request=test_llm_provider_by_id_request)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling ActionsApi->test_llm_provider_by_id: %s\n" % e)
```


Expand All @@ -8198,6 +8218,7 @@ with gooddata_api_client.ApiClient() as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**llm_provider_id** | **str**| |
**test_llm_provider_by_id_request** | [**TestLlmProviderByIdRequest**](TestLlmProviderByIdRequest.md)| | [optional]

### Return type

Expand All @@ -8209,7 +8230,7 @@ No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: application/json
- **Accept**: application/json


Expand Down Expand Up @@ -8296,6 +8317,73 @@ No authorization required

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **trending_objects**
> TrendingObjectsResult trending_objects(workspace_id)

Get Trending Analytics Catalog Objects

Returns a list of trending objects for this workspace

### Example


```python
import time
import gooddata_api_client
from gooddata_api_client.api import actions_api
from gooddata_api_client.model.trending_objects_result import TrendingObjectsResult
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)


# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = actions_api.ActionsApi(api_client)
workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier

# example passing only required values which don't have defaults set
try:
# Get Trending Analytics Catalog Objects
api_response = api_instance.trending_objects(workspace_id)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling ActionsApi->trending_objects: %s\n" % e)
```


### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**workspace_id** | **str**| Workspace identifier |

### Return type

[**TrendingObjectsResult**](TrendingObjectsResult.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json


### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | OK | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **trigger_automation**
> trigger_automation(workspace_id, trigger_automation_request)

Expand Down
2 changes: 1 addition & 1 deletion gooddata-api-client/docs/LlmProviderConfig.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LlmProviderConfig

Provider configuration to test.
Provider configuration overrides.

## Properties
Name | Type | Description | Notes
Expand Down
90 changes: 89 additions & 1 deletion gooddata-api-client/docs/SmartFunctionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Method | HTTP request | Description
[**tags**](SmartFunctionsApi.md#tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/tags | Get Analytics Catalog Tags
[**test_llm_provider**](SmartFunctionsApi.md#test_llm_provider) | **POST** /api/v1/actions/ai/llmProvider/test | Test LLM Provider
[**test_llm_provider_by_id**](SmartFunctionsApi.md#test_llm_provider_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/test | Test LLM Provider By Id
[**trending_objects**](SmartFunctionsApi.md#trending_objects) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects | Get Trending Analytics Catalog Objects
[**trigger_quality_issues_calculation**](SmartFunctionsApi.md#trigger_quality_issues_calculation) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck | Trigger Quality Issues Calculation
[**validate_llm_endpoint**](SmartFunctionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint
[**validate_llm_endpoint_by_id**](SmartFunctionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id
Expand Down Expand Up @@ -1554,7 +1555,7 @@ with gooddata_api_client.ApiClient() as api_client:
id="id_example",
),
],
provider_config=TestLlmProviderDefinitionRequestProviderConfig(None),
provider_config=TestLlmProviderByIdRequestProviderConfig(None),
) # TestLlmProviderDefinitionRequest |

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -1610,6 +1611,7 @@ import time
import gooddata_api_client
from gooddata_api_client.api import smart_functions_api
from gooddata_api_client.model.test_llm_provider_response import TestLlmProviderResponse
from gooddata_api_client.model.test_llm_provider_by_id_request import TestLlmProviderByIdRequest
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
Expand All @@ -1623,6 +1625,15 @@ with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = smart_functions_api.SmartFunctionsApi(api_client)
llm_provider_id = "llmProviderId_example" # str |
test_llm_provider_by_id_request = TestLlmProviderByIdRequest(
models=[
LlmModel(
family="OPENAI",
id="id_example",
),
],
provider_config=TestLlmProviderByIdRequestProviderConfig(None),
) # TestLlmProviderByIdRequest | (optional)

# example passing only required values which don't have defaults set
try:
Expand All @@ -1631,6 +1642,15 @@ with gooddata_api_client.ApiClient() as api_client:
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling SmartFunctionsApi->test_llm_provider_by_id: %s\n" % e)

# example passing only required values which don't have defaults set
# and optional values
try:
# Test LLM Provider By Id
api_response = api_instance.test_llm_provider_by_id(llm_provider_id, test_llm_provider_by_id_request=test_llm_provider_by_id_request)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling SmartFunctionsApi->test_llm_provider_by_id: %s\n" % e)
```


Expand All @@ -1639,6 +1659,7 @@ with gooddata_api_client.ApiClient() as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**llm_provider_id** | **str**| |
**test_llm_provider_by_id_request** | [**TestLlmProviderByIdRequest**](TestLlmProviderByIdRequest.md)| | [optional]

### Return type

Expand All @@ -1648,6 +1669,73 @@ Name | Type | Description | Notes

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json


### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | OK | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **trending_objects**
> TrendingObjectsResult trending_objects(workspace_id)

Get Trending Analytics Catalog Objects

Returns a list of trending objects for this workspace

### Example


```python
import time
import gooddata_api_client
from gooddata_api_client.api import smart_functions_api
from gooddata_api_client.model.trending_objects_result import TrendingObjectsResult
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)


# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = smart_functions_api.SmartFunctionsApi(api_client)
workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier

# example passing only required values which don't have defaults set
try:
# Get Trending Analytics Catalog Objects
api_response = api_instance.trending_objects(workspace_id)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling SmartFunctionsApi->trending_objects: %s\n" % e)
```


### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**workspace_id** | **str**| Workspace identifier |

### Return type

[**TrendingObjectsResult**](TrendingObjectsResult.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
Expand Down
13 changes: 13 additions & 0 deletions gooddata-api-client/docs/TestLlmProviderByIdRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# TestLlmProviderByIdRequest


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**models** | [**[LlmModel]**](LlmModel.md) | Models overrides. | [optional]
**provider_config** | [**TestLlmProviderByIdRequestProviderConfig**](TestLlmProviderByIdRequestProviderConfig.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TestLlmProviderDefinitionRequestProviderConfig
# TestLlmProviderByIdRequestProviderConfig


## Properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**provider_config** | [**TestLlmProviderDefinitionRequestProviderConfig**](TestLlmProviderDefinitionRequestProviderConfig.md) | |
**provider_config** | [**TestLlmProviderByIdRequestProviderConfig**](TestLlmProviderByIdRequestProviderConfig.md) | |
**models** | [**[LlmModel]**](LlmModel.md) | Models to test. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
Loading
Loading