Skip to content
Closed
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
21 changes: 13 additions & 8 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ docs/CreateSecretResponse.md
docs/CreateWorkspaceRequest.md
docs/CreateWorkspaceResponse.md
docs/DatasetSource.md
docs/DatasetSourceOneOf.md
docs/DatasetSourceOneOf1.md
docs/DatasetSourceOneOf2.md
docs/DatasetSourceOneOf3.md
docs/DatasetSourceOneOf4.md
docs/DatasetSummary.md
docs/DatasetVersionSummary.md
docs/DatasetsApi.md
Expand Down Expand Up @@ -191,6 +196,11 @@ hotdata/models/create_secret_response.py
hotdata/models/create_workspace_request.py
hotdata/models/create_workspace_response.py
hotdata/models/dataset_source.py
hotdata/models/dataset_source_one_of.py
hotdata/models/dataset_source_one_of1.py
hotdata/models/dataset_source_one_of2.py
hotdata/models/dataset_source_one_of3.py
hotdata/models/dataset_source_one_of4.py
hotdata/models/dataset_summary.py
hotdata/models/dataset_version_summary.py
hotdata/models/delete_sandbox_response.py
Expand Down Expand Up @@ -275,14 +285,9 @@ hotdata/rest.py
pyproject.toml
requirements.txt
setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_create_sandbox_request.py
test/test_delete_sandbox_response.py
test/test_list_sandboxes_response.py
test/test_sandbox.py
test/test_sandbox_response.py
test/test_sandboxes_api.py
test/test_update_sandbox_request.py
test/test_dataset_source_one_of2.py
test/test_dataset_source_one_of3.py
test/test_dataset_source_one_of4.py
tox.ini
2 changes: 1 addition & 1 deletion docs/CreateIndexRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**var_async** | **bool** | When true, create the index as a background job and return a job ID for polling. | [optional]
**columns** | **List[str]** | Columns to index. Required for all index types. |
**description** | **str** | User-facing description of the embedding (e.g., \"product descriptions\"). | [optional]
**dimensions** | **int** | Output vector dimensions. Some models support multiple dimension sizes (e.g., OpenAI text-embedding-3-small supports 512 or 1536). If omitted, the model's default dimensions are used. | [optional]
**dimensions** | **int** | Output vector dimensions. Some models support multiple dimension sizes (e.g., OpenAI text-embedding-3-small supports 512 or 1536). If omitted, the model's default dimensions are used | [optional]
**embedding_provider_id** | **str** | Embedding provider ID. When set for a vector index, the source column is treated as text and embeddings are generated automatically. The vector index is then built on the generated embedding column (`{column}_embedding` by default). | [optional]
**index_name** | **str** | |
**index_type** | **str** | Index type: \"sorted\" (default), \"bm25\", or \"vector\" | [optional]
Expand Down
3 changes: 2 additions & 1 deletion docs/DatasetSource.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DatasetSource

Dataset source specification
Dataset source specification. Internally tagged on `type`, e.g. `{\"type\": \"upload\", \"upload_id\": \"...\"}`. Discriminator values: `upload`, `saved_query`, `sql_query`, `url`, `inline`.

## Properties

Expand All @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**columns** | **Dict[str, str]** | Optional explicit column definitions. Keys are column names, values are type specs. | [optional]
**format** | **str** | | [optional]
**upload_id** | **str** | |
**type** | **str** | |
**saved_query_id** | **str** | |
**version** | **int** | | [optional]
**description** | **str** | Optional description for the auto-created saved query. | [optional]
Expand Down
6 changes: 3 additions & 3 deletions docs/DatasetSourceOneOf.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# DatasetSourceOneOf

Create from a previously uploaded file

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**columns** | [**Dict[str, ColumnDefinition]**](ColumnDefinition.md) | Optional explicit column definitions. Keys are column names, values are type specs. When provided, the schema is built from these definitions instead of being inferred. | [optional]
**format** | **object** | | [optional]
**columns** | **Dict[str, str]** | Optional explicit column definitions. Keys are column names, values are type specs. When provided, the schema is built from these definitions instead of being inferred. | [optional]
**format** | **str** | | [optional]
**upload_id** | **str** | |
**type** | **str** | |

## Example

Expand Down
5 changes: 3 additions & 2 deletions docs/DatasetSourceOneOf1.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# DatasetSourceOneOf1

Create from inline data (small payloads)

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**inline** | [**InlineData**](InlineData.md) | |
**saved_query_id** | **str** | |
**version** | **int** | | [optional]
**type** | **str** | |

## Example

Expand Down
32 changes: 32 additions & 0 deletions docs/DatasetSourceOneOf2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# DatasetSourceOneOf2


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**description** | **str** | Optional description for the auto-created saved query. | [optional]
**name** | **str** | Optional name for the auto-created saved query. Defaults to the dataset label. | [optional]
**sql** | **str** | |
**type** | **str** | |

## Example

```python
from hotdata.models.dataset_source_one_of2 import DatasetSourceOneOf2

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

# convert the object into a dict
dataset_source_one_of2_dict = dataset_source_one_of2_instance.to_dict()
# create an instance of DatasetSourceOneOf2 from a dict
dataset_source_one_of2_from_dict = DatasetSourceOneOf2.from_dict(dataset_source_one_of2_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**columns** | **Dict[str, str]** | Optional explicit column definitions. Keys are column names, values are type specs. | [optional]
**format** | **str** | | [optional]
**url** | **str** | |
**type** | **str** | |

## Example

```python
from hotdata.models.dataset_source_one_of3 import DatasetSourceOneOf3

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

# convert the object into a dict
dataset_source_one_of3_dict = dataset_source_one_of3_instance.to_dict()
# create an instance of DatasetSourceOneOf3 from a dict
dataset_source_one_of3_from_dict = DatasetSourceOneOf3.from_dict(dataset_source_one_of3_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**inline** | [**InlineData**](InlineData.md) | |
**type** | **str** | |

## Example

```python
from hotdata.models.dataset_source_one_of4 import DatasetSourceOneOf4

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

# convert the object into a dict
dataset_source_one_of4_dict = dataset_source_one_of4_instance.to_dict()
# create an instance of DatasetSourceOneOf4 from a dict
dataset_source_one_of4_from_dict = DatasetSourceOneOf4.from_dict(dataset_source_one_of4_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)


Loading
Loading