Skip to content

[Client] Automatic update from platform release (3.2.4) #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 3.1.16
- Package version: 3.2.4
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down Expand Up @@ -105,6 +105,7 @@ Class | Method | HTTP request | Description
*EXTERNALApi* | [**create_setup_payments_setup_checkout_post**](docs/EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
*EXTERNALApi* | [**delete_api_key_credentials_api_key_id_delete**](docs/EXTERNALApi.md#delete_api_key_credentials_api_key_id_delete) | **DELETE** /credentials/api-key/{id} | Delete Api Key
*EXTERNALApi* | [**delete_user_vault_item_endpoint_user_vault_delete**](docs/EXTERNALApi.md#delete_user_vault_item_endpoint_user_vault_delete) | **DELETE** /user_vault | Delete User Vault Item Endpoint
*EXTERNALApi* | [**download_url_file_url_download_post**](docs/EXTERNALApi.md#download_url_file_url_download_post) | **POST** /file_url/download | Download Url
*EXTERNALApi* | [**get_all_user_vault_items_endpoint_user_vault_get**](docs/EXTERNALApi.md#get_all_user_vault_items_endpoint_user_vault_get) | **GET** /user_vault | Get All User Vault Items Endpoint
*EXTERNALApi* | [**get_api_keys_credentials_api_key_get**](docs/EXTERNALApi.md#get_api_keys_credentials_api_key_get) | **GET** /credentials/api-key | Get Api Keys
*EXTERNALApi* | [**get_clusters_clusters_get**](docs/EXTERNALApi.md#get_clusters_clusters_get) | **GET** /clusters | Get Clusters
Expand All @@ -124,8 +125,10 @@ Class | Method | HTTP request | Description
*EXTERNALApi* | [**get_usage_daily_bills_get**](docs/EXTERNALApi.md#get_usage_daily_bills_get) | **GET** /daily_bills | Get Usage
*EXTERNALApi* | [**get_usage_deployments_usage_deployment_id_get**](docs/EXTERNALApi.md#get_usage_deployments_usage_deployment_id_get) | **GET** /deployments/usage/{deployment_id} | Get Usage
*EXTERNALApi* | [**setup_stripe_customer_payments_setup_post**](docs/EXTERNALApi.md#setup_stripe_customer_payments_setup_post) | **POST** /payments/setup | Setup Stripe Customer
*EXTERNALApi* | [**update_autopay_preferences_autopay_put**](docs/EXTERNALApi.md#update_autopay_preferences_autopay_put) | **PUT** /preferences/autopay | Update Autopay
*EXTERNALApi* | [**update_deployment_status_deployments_status_deployment_id_put**](docs/EXTERNALApi.md#update_deployment_status_deployments_status_deployment_id_put) | **PUT** /deployments/status/{deployment_id} | Update Deployment Status
*EXTERNALApi* | [**update_user_vault_item_endpoint_user_vault_put**](docs/EXTERNALApi.md#update_user_vault_item_endpoint_user_vault_put) | **PUT** /user_vault | Update User Vault Item Endpoint
*EXTERNALApi* | [**upload_url_file_url_upload_post**](docs/EXTERNALApi.md#upload_url_file_url_upload_post) | **POST** /file_url/upload | Upload Url


## Documentation For Models
Expand All @@ -135,8 +138,7 @@ Class | Method | HTTP request | Description
- [CServeRecipe](docs/CServeRecipe.md)
- [CServeRecipePerf](docs/CServeRecipePerf.md)
- [CServeRecipeResponse](docs/CServeRecipeResponse.md)
- [CServeV2RecipeInput](docs/CServeV2RecipeInput.md)
- [CServeV2RecipeOutput](docs/CServeV2RecipeOutput.md)
- [CServeV2Recipe](docs/CServeV2Recipe.md)
- [CreateCServeDeploymentRequest](docs/CreateCServeDeploymentRequest.md)
- [CreateCServeDeploymentResponse](docs/CreateCServeDeploymentResponse.md)
- [CreateCServeV2DeploymentRequest](docs/CreateCServeV2DeploymentRequest.md)
Expand All @@ -150,6 +152,8 @@ Class | Method | HTTP request | Description
- [CreateRagDeploymentRequest](docs/CreateRagDeploymentRequest.md)
- [CreateRagDeploymentResponse](docs/CreateRagDeploymentResponse.md)
- [CreateSetupCheckoutRequest](docs/CreateSetupCheckoutRequest.md)
- [CreateUrlRequest](docs/CreateUrlRequest.md)
- [CreateUrlResponse](docs/CreateUrlResponse.md)
- [CreditsResponse](docs/CreditsResponse.md)
- [DailyBillResponse](docs/DailyBillResponse.md)
- [DeploymentStatus](docs/DeploymentStatus.md)
Expand All @@ -165,7 +169,7 @@ Class | Method | HTTP request | Description
- [GetDeploymentResponse](docs/GetDeploymentResponse.md)
- [GetDeploymentUsageResponse](docs/GetDeploymentUsageResponse.md)
- [GetInferenceDeploymentResponse](docs/GetInferenceDeploymentResponse.md)
- [GetPaymentsResponse](docs/GetPaymentsResponse.md)
- [GetPaymentResponse](docs/GetPaymentResponse.md)
- [GetRagDeploymentResponse](docs/GetRagDeploymentResponse.md)
- [HTTPValidationError](docs/HTTPValidationError.md)
- [HardwareInstanceResponse](docs/HardwareInstanceResponse.md)
Expand All @@ -175,14 +179,15 @@ Class | Method | HTTP request | Description
- [ListGetClusterResponse](docs/ListGetClusterResponse.md)
- [ListGetDeploymentResponse](docs/ListGetDeploymentResponse.md)
- [ListHardwareInstanceResponse](docs/ListHardwareInstanceResponse.md)
- [ListPaymentsResponse](docs/ListPaymentsResponse.md)
- [ListPrebuiltImageResponse](docs/ListPrebuiltImageResponse.md)
- [ListUserVaultItemsResponse](docs/ListUserVaultItemsResponse.md)
- [Metric](docs/Metric.md)
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
- [ServiceStatus](docs/ServiceStatus.md)
- [UpdateAutopayRequest](docs/UpdateAutopayRequest.md)
- [UserSupportEmailRequest](docs/UserSupportEmailRequest.md)
- [UserVaultItemInput](docs/UserVaultItemInput.md)
- [UserVaultItemOutput](docs/UserVaultItemOutput.md)
- [UserVaultItem](docs/UserVaultItem.md)
- [UserVaultType](docs/UserVaultType.md)
- [ValidationError](docs/ValidationError.md)
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/CServeRecipePerf.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**recipe** | [**CServeV2RecipeOutput**](CServeV2RecipeOutput.md) | |
**recipe** | [**CServeV2Recipe**](CServeV2Recipe.md) | |
**hardware_instance_id** | **int** | |
**output_tp** | **List[List[object]]** | |
**mean_ttft** | **List[List[object]]** | |
Expand Down
1 change: 0 additions & 1 deletion docs/CServeRecipeResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model** | **str** | |
**cluster_id** | **int** | |
**fastest** | [**CServeRecipePerf**](CServeRecipePerf.md) | |
**cheapest** | [**CServeRecipePerf**](CServeRecipePerf.md) | |
**best_value** | [**CServeRecipePerf**](CServeRecipePerf.md) | |
Expand Down
28 changes: 1 addition & 27 deletions docs/CServeV2Recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,7 @@ Inputs to start deployment
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model** | **str** | |
**max_model_len** | **int** | |
**is_embedding_model** | **bool** | | [default to False]
**tokenizer** | **str** | |
**tensor_parallel_size** | **int** | |
**pipeline_parallel_size** | **int** | |
**gpu_mem_util** | **float** | | [default to 0.95]
**block_size** | **int** | | [default to 32]
**swap_space** | **int** | | [default to 0]
**quantization** | **str** | |
**dtype** | **str** | | [default to 'auto']
**cache_dtype** | **str** | | [default to 'auto']
**max_num_seqs** | **int** | | [default to 256]
**eager_execution** | **bool** | | [default to True]
**use_flashinfer** | **bool** | | [default to False]
**offloading_num** | **float** | | [default to 0]
**spec_draft_model** | **str** | |
**spec_tokens** | **int** | |
**spec_prompt_lookup_max** | **int** | |
**spec_prompt_lookup_min** | **int** | |
**use_prefix_caching** | **bool** | | [default to False]
**use_chunked_prefill** | **bool** | | [default to False]
**chunked_prefill_size** | **int** | |
**max_seq_len_to_capture** | **int** | | [default to 1024]
**distributed_executor_backend** | **str** | | [default to 'ray']
**spec_max_batch_size** | **int** | |
**spec_max_seq_len** | **int** | |
**num_scheduler_steps** | **int** | | [default to 1]
**is_embedding_model** | **bool** | | [optional] [default to False]

## Example

Expand Down
26 changes: 0 additions & 26 deletions docs/CServeV2RecipeInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,7 @@ Inputs to start deployment
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model** | **str** | |
**max_model_len** | **int** | | [optional]
**is_embedding_model** | **bool** | | [optional] [default to False]
**tokenizer** | **str** | |
**tensor_parallel_size** | **int** | |
**pipeline_parallel_size** | **int** | |
**gpu_mem_util** | **float** | | [optional] [default to 0.95]
**block_size** | **int** | | [optional] [default to 16]
**swap_space** | **int** | | [optional] [default to 0]
**quantization** | **str** | | [optional]
**dtype** | **str** | | [optional] [default to 'auto']
**cache_dtype** | **str** | | [optional] [default to 'auto']
**max_num_seqs** | **int** | | [optional] [default to 256]
**eager_execution** | **bool** | | [optional] [default to True]
**use_flashinfer** | **bool** | | [optional] [default to False]
**offloading_num** | **float** | | [optional] [default to 0]
**spec_draft_model** | **str** | | [optional]
**spec_tokens** | **int** | | [optional]
**spec_prompt_lookup_max** | **int** | | [optional]
**spec_prompt_lookup_min** | **int** | | [optional]
**use_prefix_caching** | **bool** | | [optional] [default to False]
**use_chunked_prefill** | **bool** | | [optional] [default to False]
**chunked_prefill_size** | **int** | | [optional]
**max_seq_len_to_capture** | **int** | | [optional] [default to 8192]
**distributed_executor_backend** | **str** | | [optional] [default to 'mp']
**spec_max_batch_size** | **int** | | [optional]
**spec_max_seq_len** | **int** | | [optional]
**num_scheduler_steps** | **int** | | [optional] [default to 1]

## Example

Expand Down
26 changes: 0 additions & 26 deletions docs/CServeV2RecipeOutput.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,7 @@ Inputs to start deployment
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model** | **str** | |
**max_model_len** | **int** | |
**is_embedding_model** | **bool** | | [default to False]
**tokenizer** | **str** | |
**tensor_parallel_size** | **int** | |
**pipeline_parallel_size** | **int** | |
**gpu_mem_util** | **float** | | [default to 0.95]
**block_size** | **int** | | [default to 16]
**swap_space** | **int** | | [default to 0]
**quantization** | **str** | |
**dtype** | **str** | | [default to 'auto']
**cache_dtype** | **str** | | [default to 'auto']
**max_num_seqs** | **int** | | [default to 256]
**eager_execution** | **bool** | | [default to True]
**use_flashinfer** | **bool** | | [default to False]
**offloading_num** | **float** | | [default to 0]
**spec_draft_model** | **str** | |
**spec_tokens** | **int** | |
**spec_prompt_lookup_max** | **int** | |
**spec_prompt_lookup_min** | **int** | |
**use_prefix_caching** | **bool** | | [default to False]
**use_chunked_prefill** | **bool** | | [default to False]
**chunked_prefill_size** | **int** | |
**max_seq_len_to_capture** | **int** | | [default to 8192]
**distributed_executor_backend** | **str** | | [default to 'mp']
**spec_max_batch_size** | **int** | |
**spec_max_seq_len** | **int** | |
**num_scheduler_steps** | **int** | | [default to 1]

## Example

Expand Down
29 changes: 0 additions & 29 deletions docs/ClientSecretResponse.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/CreateCServeV2DeploymentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**name** | **str** | |
**cluster_id** | **int** | |
**hardware_instance_id** | **int** | |
**recipe** | [**CServeV2RecipeInput**](CServeV2RecipeInput.md) | |
**recipe** | [**CServeV2Recipe**](CServeV2Recipe.md) | |
**hf_token** | **str** | | [optional]
**endpoint_certificate_authority** | **str** | | [optional]
**min_scale** | **int** | |
Expand Down
29 changes: 0 additions & 29 deletions docs/CreateCheckoutResponse.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/CreateComputeDeploymentResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**created_at** | **datetime** | |
**endpoint_url** | **str** | |
**port** | **int** | |
**jupyter_token** | **str** | |
**jupyter_token** | **str** | | [optional]

## Example

Expand Down
3 changes: 1 addition & 2 deletions docs/CreateInferenceDeploymentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Name | Type | Description | Notes
**concurrency** | **int** | | [optional]
**healthcheck** | **str** | | [optional]
**env_vars** | **Dict[str, str]** | | [optional]
**command** | **List[str]** | | [optional]
**command_args** | **List[str]** | | [optional]
**command** | **str** | | [optional]
**endpoint_certificate_authority** | **str** | | [optional]

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateRagDeploymentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**name** | **str** | |
**cluster_id** | **int** | |
**hardware_instance_id** | **int** | |
**recipe** | [**CServeV2RecipeInput**](CServeV2RecipeInput.md) | |
**recipe** | [**CServeV2Recipe**](CServeV2Recipe.md) | |
**hf_token** | **str** | | [optional]
**llm_model** | **str** | |
**centml_api_key** | **str** | |
Expand Down
30 changes: 30 additions & 0 deletions docs/CreateUrlRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# CreateUrlRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filename** | **str** | |
**extension** | **str** | |

## Example

```python
from platform_api_python_client.models.create_url_request import CreateUrlRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateUrlRequest from a JSON string
create_url_request_instance = CreateUrlRequest.from_json(json)
# print the JSON string representation of the object
print(CreateUrlRequest.to_json())

# convert the object into a dict
create_url_request_dict = create_url_request_instance.to_dict()
# create an instance of CreateUrlRequest from a dict
create_url_request_from_dict = CreateUrlRequest.from_dict(create_url_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


29 changes: 29 additions & 0 deletions docs/CreateUrlResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# CreateUrlResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | **str** | |

## Example

```python
from platform_api_python_client.models.create_url_response import CreateUrlResponse

# TODO update the JSON string below
json = "{}"
# create an instance of CreateUrlResponse from a JSON string
create_url_response_instance = CreateUrlResponse.from_json(json)
# print the JSON string representation of the object
print(CreateUrlResponse.to_json())

# convert the object into a dict
create_url_response_dict = create_url_response_instance.to_dict()
# create an instance of CreateUrlResponse from a dict
create_url_response_from_dict = CreateUrlResponse.from_dict(create_url_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


6 changes: 3 additions & 3 deletions docs/DeploymentStatusResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Name | Type | Description | Notes
**id** | **int** | |
**type** | [**DeploymentType**](DeploymentType.md) | |
**status** | [**DeploymentStatus**](DeploymentStatus.md) | |
**service_status** | [**ServiceStatus**](ServiceStatus.md) | |
**error_message** | **str** | |
**endpoint_url** | **str** | |
**service_status** | [**ServiceStatus**](ServiceStatus.md) | | [optional]
**error_message** | **str** | | [optional]
**endpoint_url** | **str** | | [optional]

## Example

Expand Down
Loading