You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CreateIndexRequest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
**var_async** | **bool** | When true, create the index as a background job and return a job ID for polling. | [optional]
10
10
**columns** | **List[str]** | Columns to index. Required for all index types. |
11
11
**description** | **str** | User-facing description of the embedding (e.g., \"product descriptions\"). | [optional]
12
-
**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]
12
+
**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]
13
13
**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]
14
14
**index_name** | **str** | |
15
15
**index_type** | **str** | Index type: \"sorted\" (default), \"bm25\", or \"vector\" | [optional]
Copy file name to clipboardExpand all lines: docs/IndexesApi.md
+286Lines changed: 286 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,112 @@ All URIs are relative to *https://api.hotdata.dev*
4
4
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
+
[**create_dataset_index**](IndexesApi.md#create_dataset_index) | **POST** /v1/datasets/{dataset_id}/indexes | Create an index on a dataset
7
8
[**create_index**](IndexesApi.md#create_index) | **POST** /v1/connections/{connection_id}/tables/{schema}/{table}/indexes | Create an index on a table
9
+
[**delete_dataset_index**](IndexesApi.md#delete_dataset_index) | **DELETE** /v1/datasets/{dataset_id}/indexes/{index_name} | Delete a dataset index
8
10
[**delete_index**](IndexesApi.md#delete_index) | **DELETE** /v1/connections/{connection_id}/tables/{schema}/{table}/indexes/{index_name} | Delete an index
11
+
[**list_dataset_indexes**](IndexesApi.md#list_dataset_indexes) | **GET** /v1/datasets/{dataset_id}/indexes | List indexes on a dataset
9
12
[**list_indexes**](IndexesApi.md#list_indexes) | **GET** /v1/connections/{connection_id}/tables/{schema}/{table}/indexes | List indexes on a table
[[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)
@@ -104,6 +205,98 @@ Name | Type | Description | Notes
104
205
105
206
[[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)
106
207
208
+
# **delete_dataset_index**
209
+
> delete_dataset_index(dataset_id, index_name)
210
+
211
+
Delete a dataset index
212
+
213
+
Delete a specific index from a dataset.
214
+
215
+
### Example
216
+
217
+
* Api Key Authentication (WorkspaceId):
218
+
* Api Key Authentication (SessionId):
219
+
* Bearer Authentication (BearerAuth):
220
+
221
+
```python
222
+
import hotdata
223
+
from hotdata.rest import ApiException
224
+
from pprint import pprint
225
+
226
+
# Defining the host is optional and defaults to https://api.hotdata.dev
227
+
# See configuration.py for a list of all supported configuration parameters.
228
+
configuration = hotdata.Configuration(
229
+
host="https://api.hotdata.dev"
230
+
)
231
+
232
+
# The client must configure the authentication and authorization parameters
233
+
# in accordance with the API server security policy.
234
+
# Examples for each auth method are provided below, use the example that
[[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)
[[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)
[[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)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments